-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Clean up rustdoc and add doc lint #6044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Great work 🚀 This is also very helpful for #5981 |
|
Thank @waynexia -- hopefully I'll have this PR ready to go shortly |
waynexia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this 🎉 I've run it locally and every link looks fine!
| rust-version: stable | ||
| - name: Run cargo doc | ||
| run: | | ||
| export RUSTDOCFLAGS="-D warnings -A rustdoc::private-intra-doc-links" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
|
Thank you for the review @waynexia ! |
Which issue does this PR close?
Closes #6042
Rationale for this change
I am trying to get the rustdoc API docs into better shape.
What changes are included in this PR?
cargo docAre these changes tested?
Yes -- new lint
Are there any user-facing changes?
Some broken links in API docs are fixed