-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
No link from doc.rust-lang.org to www.rust-lang.org #30838
Comments
Generally, people come to doc.rust-lang.org from www.rust-lang.org. But that might be a good thing to add it. |
Also, I don't think this can be a rustdoc thing, because many, many rustdoc outputs are not hosted on rust-lang.org |
(Rustdoc already lets you choose where the logo links to, iiirc, but it's usually the docs rather than another site.) |
@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. |
https://www.rust-lang.org/en-US/documentation.html now links to doc.rust-lang.org, many times 🎊 |
Oh wait, this is the inverse issue, sorry for the noise! There hasn't been any change here. |
Triage: #44687 may fix this, but there's been no change |
doc.rust-lang.org redirects to https://www.rust-lang.org/learn today, but I think we probably want these links from e.g. https://doc.rust-lang.org/std/index.html as well so leaving open. |
Triage: this would be pretty easily fixed by modifying the index page for doc.rust-lang.org: https://github.com/rust-lang/rust/blob/master/src/doc/index.md |
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.The text was updated successfully, but these errors were encountered: