mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 09:03:37 +08:00
Merge pull request #6207 from krobelus/sphinx-toc
sphinx: highlight current page in the site navigation
This commit is contained in:
commit
466b6e1b43
1
sphinx_doc_src/_static/custom.css
Normal file
1
sphinx_doc_src/_static/custom.css
Normal file
|
@ -0,0 +1 @@
|
|||
.sphinxsidebar > ul.current > li.current { font-weight: bold }
|
|
@ -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
|
||||
|
|
|
@ -1856,6 +1856,7 @@ Other help pages
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
self
|
||||
commands
|
||||
design
|
||||
tutorial
|
||||
|
|
Loading…
Reference in New Issue
Block a user