forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#60134 - GuillaumeGomez:fix-index-page, r=Ma…
…nishearth Fix index-page generation Fixes rust-lang#60096. The minifier was minifying crates name in `searchIndex` key position, which was a bit problematic for multiple reasons. r? @rust-lang/rustdoc
- Loading branch information
Showing
4 changed files
with
18 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
// aux-build:all-item-types.rs | ||
// build-aux-docs | ||
// compile-flags: -Z unstable-options --enable-index-page | ||
|
||
#![crate_name = "foo"] | ||
|
||
// @has foo/../index.html | ||
// @has - '//span[@class="in-band"]' 'List of all crates' | ||
// @has - '//ul[@class="mod"]//a[@href="foo/index.html"]' 'foo' | ||
// @has - '//ul[@class="mod"]//a[@href="all_item_types/index.html"]' 'all_item_types' | ||
pub struct Foo; |