Repository navigation
rustdoc should link to its current version of the rustdoc book #131971
Description
Activity
- addedT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
on Oct 20, 2024 - addedneeds-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
on Oct 20, 2024 - removedneeds-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
on Nov 9, 2024 - addedC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)
on Dec 6, 2024 rustdoc just links to […]
I assume you're referring to the first paragraph of the help dropdown?
You can find more information in the rustdoc book.
yes
Wasn't it already done a while ago: 2f1939a ?
EDIT: It was only partially done, it hasn't been updated everywhere
@rustbot claim
The linked PR somewhat addresses this, though because docs.rs uses nightly rustdoc, all the doc.rust-lang.org links will be
/nightly/...rather than a specific version. However, there's not really anything more we can do from the linking side of things because nightly versions are (of course) unstable and not finalized and thus aren't posted under their version number on doc.rust-lang.org. I don't think this is a particularly big issue though, so it seems reasonable to me to consider this resolved with the PR.Reacted by lolbinarycat- added 2 commits that reference this issue
on Feb 3, 2025 - added a commit that references this issue
on Feb 3, 2025 - added 2 commits that reference this issue
on Feb 3, 2025 - added a commit that references this issue
on Feb 4, 2025
currently, rustdoc just links to https://doc.rust-lang.org/rustdoc/
this could lead to confusion for old crates on docs.rs when someone tries to use a new feature and it doesn't work.
perhaps, rustdoc 1.80.1 should link to https://doc.rust-lang.org/1.80.1/rustdoc/ and other versions should link to their matching documentation...