summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-08-01 16:00:25 +0200
committerGitHub <noreply@github.com>2019-08-01 16:00:25 +0200
commite2934bab3ea0e1cdcd15e215629ba0ea17507449 (patch)
tree58c3374d71d1df077eb2902c175a420fe946cfe2 /src/test/rustdoc
parent9ff52752d855722c55dbc71d9b22bd42eabfc468 (diff)
parent08a8de8181e606f009007475c743d4572758e160 (diff)
downloadrust-e2934bab3ea0e1cdcd15e215629ba0ea17507449.tar.gz
rust-e2934bab3ea0e1cdcd15e215629ba0ea17507449.zip
Rollup merge of #62971 - GuillaumeGomez:keyword-sidebar, r=nobody
Add keywords item into the sidebar

Fixes #62939.

cc @pravic

screenshot of the result:

![Screenshot from 2019-07-25 14-29-48](https://user-images.githubusercontent.com/3050060/61874545-f9512080-aee8-11e9-8e8b-aa50216aec94.png)

r? @QuietMisdreavus
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/keyword.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc/keyword.rs b/src/test/rustdoc/keyword.rs
index c721c024468..db5d115c6da 100644
--- a/src/test/rustdoc/keyword.rs
+++ b/src/test/rustdoc/keyword.rs
@@ -4,6 +4,7 @@
 
 // @has foo/index.html '//h2[@id="keywords"]' 'Keywords'
 // @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
+// @has foo/index.html '//div[@class="block items"]//a/@href' '#keywords'
 // @has foo/keyword.match.html '//a[@class="keyword"]' 'match'
 // @has foo/keyword.match.html '//span[@class="in-band"]' 'Keyword match'
 // @has foo/keyword.match.html '//section[@id="main"]//div[@class="docblock"]//p' 'this is a test!'