sphinx: highlight current page in the site navigation

Fixes #6189
This commit is contained in:
Johannes Altmanninger 2019-10-15 21:56:40 +02:00
parent 4c63ae357a
commit cff721afda
3 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1 @@
.sphinxsidebar > ul.current > li.current { font-weight: bold }

View file

@ -29,6 +29,7 @@ def setup(app):
os.path.join(this_dir, "fish_indent_lexer.py"), lexername="FishIndentLexer"
)
lexers["fish-docs-samples"] = fish_indent_lexer
app.add_css_file("custom.css")
# The default language to assume

View file

@ -1856,6 +1856,7 @@ Other help pages
.. toctree::
:maxdepth: 1
self
commands
design
tutorial