about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-17 13:58:27 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-23 15:58:10 +0200
commit2f3bed0c4c72cf4ef8019888a3bc7a9c515e6213 (patch)
treeeace9c7a0e396336c07a2d4538d024f88168d2a3
parentfe37f37e4b764bb82fc0eb8c727842746de7c93f (diff)
downloadrust-2f3bed0c4c72cf4ef8019888a3bc7a9c515e6213.tar.gz
rust-2f3bed0c4c72cf4ef8019888a3bc7a9c515e6213.zip
Add link to rustdoc book search chapter in help popover
-rw-r--r--src/librustdoc/html/static/js/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/js/main.js b/src/librustdoc/html/static/js/main.js
index f5296abaee6..3a9e94e9f9f 100644
--- a/src/librustdoc/html/static/js/main.js
+++ b/src/librustdoc/html/static/js/main.js
@@ -1072,6 +1072,9 @@ function preLoadCss(cssUrl) {
         div_shortcuts.innerHTML = "<h2>Keyboard Shortcuts</h2><dl>" + shortcuts + "</dl></div>";
 
         const infos = [
+            "For a full list of all search features, take a look <a \
+            href='https://doc.rust-lang.org/stable/rustdoc/how-to-read-rustdoc.html\
+            #the-search-interface'>here</a>.",
             "Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
              restrict the search to a given item kind.",
             "Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \