diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2023-10-13 22:32:34 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2023-10-13 22:32:34 +0200 |
| commit | 65d3bc0cd77a6df2d4e93daf41532de520b65790 (patch) | |
| tree | f747e21cc43248a53fb61f5860aa902bf7a10e17 | |
| parent | a48a52c67253d564e8e8621a46733b2e1037be32 (diff) | |
DOC: add instructions to index page, hide main TOC
| -rw-r--r-- | doc/index.rst | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/index.rst b/doc/index.rst index ebffa9b..a5c0fd2 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -2,6 +2,11 @@ ---- +.. raw:: html + + <details> + <summary>click here to see full table of contents</summary> + .. toctree:: installation @@ -14,3 +19,41 @@ .. only:: html :ref:`genindex` + +.. raw:: html + + </details> + +.. only:: html + + .. admonition:: How To Navigate This Site + + Use the *next* and *previous* links at the top and the bottom of each page + to flip through the pages. + Alternatively, you can use the right and left arrow keys + on your keyboard. + Some additional keyboard shortcuts + are provided via the `accesskey feature`__: + :kbd:`n` next, + :kbd:`p` previous, + :kbd:`u` up (= to the parent page), + :kbd:`i` index, + :kbd:`s` search and + :kbd:`m` menu (= open/close sidebar). + + __ https://developer.mozilla.org/en-US/docs/ + Web/HTML/Global_attributes/accesskey + + Click on the `hamburger button`__ in the topbar + to open and close the sidebar. + The width of the sidebar can be adjusted by dragging its border. + Click on the title in the topbar to scroll to the top of the page, + if already at the top, go "up" to the parent page + (eventually ending up on this very page). + + __ https://en.wikipedia.org/wiki/Hamburger_button + + On *touch-enabled* devices: + Tap at the top of the page to show the topbar (if it was scrolled away); + swipe from the left edge to show the sidebar, + swipe towards the left to hide it. |
