-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Search result links on http://doc.rust-lang.org sometimes 404 #20096
Comments
Now that the regex, getopts, log, and time crates are officially hosted on the rust-lang organization, I've tweaked the rules for how their documentation is accessed, causing these errors. The hyperlinks out into them from the main documentation probably just need to be removed, so we should stop generating documentation for these crate most likely to prevent the links from going all over the place. |
These crates are all deprecated for their rust-lang/$crate equivalents and by generating docs we're generating broken links. The documentation for these crates are generated out-of-tree and are managed separately, so we're not losing the documentation altogether, just the links from the main distribution's docs. Closes rust-lang#20096
These crates are all deprecated for their rust-lang/$crate equivalents and by generating docs we're generating broken links. The documentation for these crates are generated out-of-tree and are managed separately, so we're not losing the documentation altogether, just the links from the main distribution's docs. Closes #20096
The problem's still there. |
I'm not exactly sure what's going wrong here, but this is what I did:
replace
regex::Regex::replace
, which goes to http://doc.rust-lang.org/regex/enum.Regex.html#method.replaceThis appears to be isolated to the regex, getopts, log, and time crates, I tried to reproduce this with every crate and I got 404s when doing the following searches on the following results, but not for results from the other crates:
replace
, click onregex::Regex::replace
(or any otherregex::*
result)opts
, click ongetopts::getopts
(or any othergetopts::*
result)debug
, click onlog::DEBUG
(or any otherlog::*
result)time
, click ontime::Tm::asctime
(or any othertime::*
result)What's weird is if I try to reproduce this locally by doing:
$ open doc/std/index.html
replace
regex::Regex::replace
, which goes to file://[my rust checkout]/doc/regex/enum.Regex.html#method.replaceI also found these other cases of 404s, which might be separate issues-- I'm happy to file them if someone agrees:
opts
, the result forrustrt::task::TaskOpts
goes to http://doc.rust-lang.org/rustrt/task/struct.TaskOpts.html which gives me a rust 404 page (the one that directs you to search ddg, the reference, or the docs).The text was updated successfully, but these errors were encountered: