docs.rs: Missing docs for procedural macro crate

I noted this behavior yesterday (2019/10/3). After published last version of a crate of mine (rstest) I took a look to crate.io to check everything.

Doc link exists https://docs.rs/crate/rstest/0.4.0 but just page is marked as not a library and Doc tab is missed.

I took a look to other procedural macro crates published in the last days and all have the same issue.

I missed something?

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 5
  • Comments: 30 (16 by maintainers)

Commits related to this issue

Most upvoted comments

This has been deployed! Rebuilt rstest and bae. If other crates need to be rebuilt feel free to comment here.

For everyone who’s been impacted: This has been fixed but the fix has not yet been deployed. Once it has (hopefully sometime next week), I’ll comment again and you can publish your docs by publishing a new patch version of your crate.

Okay, thank you. I hope docs WG can establish a release process so that it doesn’t happen again 😃

No, that will still happen. The bug is that cargo will always emit docs for proc-macro crates into target/doc, even if a --target flag was provided. (Usually, they’d go into target/$target/doc instead.) I’m working on a proper fix for it, but i’m running into other issues on my test server, so it’s slow going.

This doesn’t sound related the bug in this issue. Can you open a new issue with more details?

Queued.

Queued tokio-macros 0.2.0.

@davidpdrsn not for proc-macro authors, no. I have a work-around on our end in https://github.com/rust-lang/docs.rs/pull/491, but @QuietMisdreavus wants to fix the upstream bug (https://github.com/rust-lang/rust/issues/66796) first.