You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
improved help message for rustdoc::broken_intra_doc_links #132788
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Currently, the only suggestion rustdoc gives is to simply escape [ and ] with backslashes, or if there is a similarly-named item, to link to that instead.
there are a few other common errors that it could catch though:
code snippets (like arr[idx+3]) should be surrounded by backticks instead of escaping each bracket individually
if there is a similarly-named link reference definition, it should suggest referencing that (probable typo)
if the type that is being linked to is outside the current documentation bundle (e.g. linking to a type in an alternative library for the purpose of comparison, or linking to a non-rust type), then it should recommend adding a link definition item.
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Activity
Rollup merge of rust-lang#165660 - pkondzior:fix-132788-external-link…
Unrolled build for #165660 in rollup 165678
Rollup merge of #165660 - pkondzior:fix-132788-external-link-definiti…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Rollup merge of rust-lang#165568 - pkondzior:fix-132788-reference-lab…
Unrolled build for #165568 in rollup 166004
Rollup merge of #165568 - pkondzior:fix-132788-reference-label-typo, …