Skip to content

Commit

Permalink
[fix] sphinx 5.x: add nav.contents everywhere that div.topic is used
Browse files Browse the repository at this point in the history
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] sphinx-doc/sphinx@5806f0a
[2] sphinx-doc/sphinx#10534

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
  • Loading branch information
return42 committed Jul 5, 2022
1 parent 89a7ffb commit eb5bea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_themes/searxng/static/searxng.css
Expand Up @@ -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;
Expand Down

0 comments on commit eb5bea1

Please sign in to comment.