mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Implement new shortcuts:
- "/" for Focus search bar - "ESC" - clear highlighted text Fixes #691. Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
This commit is contained in:
@@ -158,9 +158,18 @@ These themes are:
|
||||
dimension string such as '70em' or '50%'. Use 'none' if you don't
|
||||
want a width limit. Defaults may depend on the theme (often 800px).
|
||||
|
||||
- **navigation_with_keys** (true or false): Allow navigating to the
|
||||
previous/next page using the keyboard's left and right arrows. Defaults to
|
||||
``False``.
|
||||
- **navigation_with_keys** (true or false): Allow navigating
|
||||
with the following keyboard shortcuts:
|
||||
|
||||
- :kbd:`Left arrow`: previous page
|
||||
- :kbd:`Right arrow`: next page
|
||||
|
||||
Defaults to ``False``.
|
||||
|
||||
- **enable_search_shortcuts** (true or false): Allow jumping to the search box
|
||||
with :kbd:`/` and allow removal of search highlighting with :kbd:`Esc`.
|
||||
|
||||
Defaults to ``True``.
|
||||
|
||||
- **globaltoc_collapse** (true or false): Only expand subsections
|
||||
of the current document in ``globaltoc.html``
|
||||
|
||||
Reference in New Issue
Block a user