Skip to content

Commit

Permalink
Fix toctree warnings and render toctree in the HTML sidebar (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abrar Rahman Protyasha authored Jul 29, 2021
1 parent 98cfe30 commit 25d00f0
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions rosdoc2/verbs/build/builders/sphinx_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ def ensure_global(name, default):
## without the rosdoc2 tool.
html_theme = 'sphinx_rtd_theme'
html_theme_options = {{
# Toc options
'collapse_navigation': False,
'sticky_navigation': True,
'navigation_depth': -1,
'includehidden': True,
'titles_only': False,
}}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down Expand Up @@ -216,9 +225,12 @@ def ensure_global(name, default):
C++ API
=======
:doc:`api/library_root`
.. toctree::
:maxdepth: 2
.. doxygenindex::
api/library_root
Full API <api/unabridged_api>
File structure <api/unabridged_orphan>
Indices and Search
==================
Expand Down

0 comments on commit 25d00f0

Please sign in to comment.