Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upProvide a way to interpolate crate version in html_root_url #42300
Comments
steveklabnik
added
T-rustdoc
T-dev-tools
labels
May 30, 2017
This comment has been minimized.
This comment has been minimized.
|
Macros in attributes would neatly solve this, just sayin'. |
dtolnay
referenced this issue
May 31, 2017
Closed
Show build status for the relevant version, rather than master #743
This comment has been minimized.
This comment has been minimized.
|
I recently implemented Hopefully docs.rs will set |
Mark-Simulacrum
added
the
C-feature-request
label
Jul 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dtolnay commentedMay 29, 2017
In Serde we work around this by having a reminder in Cargo.toml to update the html_root_url when releasing a new version. serde-rs/serde@dc7ab26
#![doc(html_root_url = "https://docs.rs/serde/1.0.8")]This is annoying and easily falls out of sync. For example mio 0.6.8 docs point to version 0.6.1: carllerche/mio#613.
There should be a way to keep these synchronized automatically.