forked from zaclys/searxng
Merge pull request #648 from return42/doc-globaltoc
[doc] add global TOC to sidebar
This commit is contained in:
commit
6c32043e47
|
@ -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