diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-12-24 10:17:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-24 10:17:49 +0100 |
| commit | 6c32043e4776e22fca1a49ef73e7bb2f8fe84aa7 (patch) | |
| tree | f078bbf4e728a0fa97ca732dab57ffb4da6709c8 /docs | |
| parent | 7bef2cc8dc8f85e6954803a50b66da26f05a2562 (diff) | |
| parent | 188efe53e89a607905b223b3ca59a85b2ba0c2ac (diff) | |
Merge pull request #648 from return42/doc-globaltoc
[doc] add global TOC to sidebar
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_themes/searxng/static/searxng.css | 4 | ||||
| -rw-r--r-- | docs/conf.py | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/_themes/searxng/static/searxng.css b/docs/_themes/searxng/static/searxng.css index db101c054..e6f93412d 100644 --- a/docs/_themes/searxng/static/searxng.css +++ b/docs/_themes/searxng/static/searxng.css @@ -20,6 +20,10 @@ div.sidebar { border-radius: 3pt; } +div.sphinxsidebar p.caption { + display: none; +} + p.sidebar-title, .sidebar p { margin: 6pt; } diff --git a/docs/conf.py b/docs/conf.py index 560e3daf8..628687b6a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -157,7 +157,13 @@ if CONTACT_URL: html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL)) html_sidebars = { - "**": ["project.html", "relations.html", "searchbox.html", "sourcelink.html"], + "**": [ + "globaltoc.html", + "project.html", + "relations.html", + "searchbox.html", + "sourcelink.html" + ], } singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]} html_logo = "../src/brand/searxng-wordmark.svg" |