1
Fork 0

Add option to disable keyboard shortcuts in docs

This commit is contained in:
Guillaume Gomez 2019-10-21 11:36:52 +02:00
parent 14f0ed64e3
commit 87744841c8
2 changed files with 3 additions and 1 deletions

View file

@ -1241,6 +1241,7 @@ fn settings(root_path: &str, suffix: &str) -> String {
("go-to-only-result", "Directly go to item in search if there is only one result",
false),
("line-numbers", "Show line numbers on code examples", false),
("disable-shortcuts", "Disable keyboard shortcuts", false),
];
format!(
"<h1 class='fqn'>\