@@ -1050,9 +1050,10 @@ function preLoadCss(cssUrl) {
1050
1050
1051
1051
function buildHelpMenu ( ) {
1052
1052
const book_info = document . createElement ( "span" ) ;
1053
+ const channel = getVar ( "channel" ) ;
1053
1054
book_info . className = "top" ;
1054
- book_info . innerHTML = " You can find more information in \
1055
- <a href=\ "https://doc.rust-lang.org/rustdoc/\ ">the rustdoc book</a>." ;
1055
+ book_info . innerHTML = ` You can find more information in \
1056
+ <a href="https://doc.rust-lang.org/${ channel } / rustdoc/">the rustdoc book</a>.` ;
1056
1057
1057
1058
const shortcuts = [
1058
1059
[ "?" , "Show this help dialog" ] ,
@@ -1072,9 +1073,9 @@ function preLoadCss(cssUrl) {
1072
1073
div_shortcuts . innerHTML = "<h2>Keyboard Shortcuts</h2><dl>" + shortcuts + "</dl></div>" ;
1073
1074
1074
1075
const infos = [
1075
- " For a full list of all search features, take a look <a \
1076
- href=' https://doc.rust-lang.org/stable /rustdoc/how-to-read-rustdoc.html\
1077
- #the-search-interface' >here</a>." ,
1076
+ ` For a full list of all search features, take a look <a \
1077
+ href=" https://doc.rust-lang.org/${ channel } /rustdoc/how-to-read-rustdoc.html\
1078
+ #the-search-interface" >here</a>.` ,
1078
1079
"Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
1079
1080
restrict the search to a given item kind." ,
1080
1081
"Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \
0 commit comments