diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-17 13:58:27 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-23 15:58:10 +0200 |
| commit | 2f3bed0c4c72cf4ef8019888a3bc7a9c515e6213 (patch) | |
| tree | eace9c7a0e396336c07a2d4538d024f88168d2a3 | |
| parent | fe37f37e4b764bb82fc0eb8c727842746de7c93f (diff) | |
| download | rust-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.js | 3 |
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>, \ |
