mirror of
https://github.com/searxng/searxng
synced 2024-10-30 21:20:28 +00:00
[fix] sphinx 5.x: add nav.contents
everywhere that div.topic
is used
Previously, docutils produced `div.topic` for the contents directive, the latest version produces `nav.contents`. This means that those tables of contents change appearance when switching to docutils 0.18 [1][2]. [1] https://github.com/sphinx-doc/sphinx/pull/10535/commits/5806f0a [2] https://github.com/sphinx-doc/sphinx/issues/10534 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
89a7ffbd34
commit
eb5bea16ff
2
docs/_themes/searxng/static/searxng.css
vendored
2
docs/_themes/searxng/static/searxng.css
vendored
@ -40,7 +40,7 @@ p.sidebar-title, .sidebar p {
|
||||
/* admonitions
|
||||
*/
|
||||
|
||||
div.admonition, div.topic, div.toctree-wrapper {
|
||||
div.admonition, div.topic, nav.contents, div.toctree-wrapper {
|
||||
background-color: #fafafa;
|
||||
margin: 8px 0px;
|
||||
padding: 1em;
|
||||
|
Loading…
Reference in New Issue
Block a user