-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Prefer full reference links for intra-doc links #117178
Prefer full reference links for intra-doc links #117178
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Discussion on zulip is here. I added it to the rustdoc team agenda so it can be discussed. |
Any updates on this? |
It's still in the "to discuss" items list. Sorry, we don't go through very fast. ^^' |
…nk-chapter, r=notriddle Extend intra-doc link chapter in the rustdoc book Linked to rust-lang#117178. r? `@notriddle`
Rollup merge of rust-lang#121021 - GuillaumeGomez:extend-intra-doc-link-chapter, r=notriddle Extend intra-doc link chapter in the rustdoc book Linked to rust-lang#117178. r? `@notriddle`
We decided in the last rustdoc meeting on zulip to not favor one syntax over the other. Instead we added a section in the rustdoc book mentioning what both syntaxes will result into (#121021). Thanks for bringing this to our attention and for your work! We hope to see you again. :) |
Unlike the RFC, Rustdoc supports interpreting full reference links as intra-doc links. It might make sense to prefer this over inline links as they might also imply a URL.
I'm happy to apply this preference across the code base, though a implementing a lint first might be preferable.