Closed
Description
We have no link from doc.rust-lang.org to www.rust-lang.org, and it is not good in terms of usability. I guess this is because doc.rust-lang.org is a verbatim copy of the raw output from rustdoc
.
See how Python documents are organized:
I think this is the relevant functionality of the Sphinx documentation tool for Python:
We should aim for the same level of usability standard and rustdoc
should be flexible enough to achieve it.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCategory: A feature request, i.e: not implemented / a PR.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
Activity
GuillaumeGomez commentedon Jan 12, 2016
Generally, people come to doc.rust-lang.org from www.rust-lang.org. But that might be a good thing to add it.
steveklabnik commentedon Jan 26, 2016
Also, I don't think this can be a rustdoc thing, because many, many rustdoc outputs are not hosted on rust-lang.org
steveklabnik commentedon Jan 26, 2016
(Rustdoc already lets you choose where the logo links to, iiirc, but it's usually the docs rather than another site.)
nodakai commentedon Jan 26, 2016
@steveklabnik I'm not saying rustdoc should hard-code a link to www.rust-lang.org. If you write a Rust library and publicize its documentation, you might want a backlink from the generated HTML to www.steveklabnik.com. I'm claiming there should be a general mechanism to realize such designs.
Thankfully rustdoc supports these command line options which seem promising:
I'll try see how they fit my proposal.
steveklabnik commentedon Dec 22, 2016
https://www.rust-lang.org/en-US/documentation.html now links to doc.rust-lang.org, many times 🎊
steveklabnik commentedon Dec 22, 2016
Oh wait, this is the inverse issue, sorry for the noise! There hasn't been any change here.
10 remaining items