mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 02:40:11 +01:00
[doc] add global TOC to sidebar
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
69747d5cb3
commit
188efe53e8
4
docs/_themes/searxng/static/searxng.css
vendored
4
docs/_themes/searxng/static/searxng.css
vendored
@ -20,6 +20,10 @@ div.sidebar {
|
|||||||
border-radius: 3pt;
|
border-radius: 3pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.sphinxsidebar p.caption {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
p.sidebar-title, .sidebar p {
|
p.sidebar-title, .sidebar p {
|
||||||
margin: 6pt;
|
margin: 6pt;
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,13 @@ if CONTACT_URL:
|
|||||||
html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL))
|
html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL))
|
||||||
|
|
||||||
html_sidebars = {
|
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"]}
|
singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
|
||||||
html_logo = "../src/brand/searxng-wordmark.svg"
|
html_logo = "../src/brand/searxng-wordmark.svg"
|
||||||
|
Loading…
Reference in New Issue
Block a user