about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-26 03:50:14 +0200
committerGitHub <noreply@github.com>2019-04-26 03:50:14 +0200
commit878a7d6ea5ddbc5f813bd45dbb3633e4317ad2a9 (patch)
tree57efa9d70c50befa5c4552ae27f57a32e17eec86 /src/test/rustdoc
parent09a7051d2835791adec116b07e05381335a253fc (diff)
parent6aa5a5df965db2d6f567fe34a316b5f4e0234c15 (diff)
downloadrust-878a7d6ea5ddbc5f813bd45dbb3633e4317ad2a9.tar.gz
rust-878a7d6ea5ddbc5f813bd45dbb3633e4317ad2a9.zip
Rollup merge of #60134 - GuillaumeGomez:fix-index-page, r=Manishearth
Fix index-page generation

Fixes #60096.

The minifier was minifying crates name in `searchIndex` key position, which was a bit problematic for multiple reasons.

r? @rust-lang/rustdoc
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/index-page.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/rustdoc/index-page.rs b/src/test/rustdoc/index-page.rs
index 6998e735297..f0476f083b8 100644
--- a/src/test/rustdoc/index-page.rs
+++ b/src/test/rustdoc/index-page.rs
@@ -1,3 +1,5 @@
+// aux-build:all-item-types.rs
+// build-aux-docs
 // compile-flags: -Z unstable-options --enable-index-page
 
 #![crate_name = "foo"]
@@ -5,4 +7,5 @@
 // @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;