You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MaloJaffre opened this issue
Dec 16, 2017
· 1 comment
Assignees
Labels
A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Rustdoc renders the use with a broken link for Enum: <a class="mod" href="./Enum/index.html">Enum</a>
There is a correct one in Enums section: <a class="enum" href="enum.Enum.html" title='enum testt::Enum'>Enum</a>
Note that the link for Variant is correct: <a class="enum" href="../testt/enum.Enum.html" title="enum testt::Enum">Variant</a>
GuillaumeGomez
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
labels
Dec 18, 2017
rustdoc: Don't try to generate links for modules in import paths
The modules may be private or may even be enums so it would generate dead links.
Fixes#29814Fixes#46766Fixes#46767
Add compiler docs testing to CI.
Fixes#47025.
I don't know if `x86_64-gnu` is the right builder for this, but there seems to be time left on [Travis](https://travis-ci.org/rust-lang/rust/jobs/307488864).
Remaining problems blocking this PR:
- [x] broken links caused by rustdoc issues:
- [x] `pub use self::Enum::...`: #46766 and #46767 (fixed by #47050, thanks @ollie27!)
- [x] `impl Deref for DerefToStdType`: #32129 (ignored in linkchecker)
- [x] `#[feature(decl_macro)]` and `use std::vec`: #47038 (ignored in linkchecker)
- [x] `rustc_data_structures::sync::{Lrc, RwLock}` aliases `std` types: #32130 (ignored in linkchecker)
- [x] markdown differences, in rust repository and in external crates, now failing the build with #46880 merged (all fixed)
- [x] multiple crate updates needed: `rand`, `log`, `parking_lot_core`, `flate2`
- [x] submodule updates needed to deduplicate dependencies: `rust-installer`, ~`cargo`~ (done by #47052)
- [x] #44953 test broken by `log` update (removed, this can be controversial)
- [x] Waiting `x86_64-gnu` build results ([done](https://travis-ci.org/rust-lang/rust/builds/323451069))
See individual commits for more details.
A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Rustdoc renders the
use
with a broken link forEnum
:<a class="mod" href="./Enum/index.html">Enum</a>
There is a correct one in Enums section:
<a class="enum" href="enum.Enum.html" title='enum testt::Enum'>Enum</a>
Note that the link for
Variant
is correct:<a class="enum" href="../testt/enum.Enum.html" title="enum testt::Enum">Variant</a>
The text was updated successfully, but these errors were encountered: