Skip to content

Commit

Permalink
Sphinx updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Traverse committed Oct 30, 2023
1 parent 15c4568 commit 0444166
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dev/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ protobuf >= 4.21, < 4.22
googleapis-common-protos >= 1.56, < 2.0

# Doc generation
sphinx ~= 5.1.0
sphinx-autoapi ~= 1.9.0
sphinx-design ~= 0.3.0
sphinx ~= 7.2.0
sphinx-autoapi ~= 3.0.0
sphinx-design ~= 0.5.0
sphinxcontrib-fulltoc ~= 1.2.0
cloud-sptheme ~= 1.10.0

Expand Down
7 changes: 6 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ def config_init_hook(app, config): # noqa
def setup(app):
app.connect('config-inited', config_init_hook)

# Try this?
# https://stackoverflow.com/questions/49880280/how-to-keep-toc-visible-on-side-when-scrolling-down


# -- Project information -----------------------------------------------------

Expand Down Expand Up @@ -134,7 +137,9 @@ def setup(app):

html_theme_options = {
'max_width': '80%',
'externalrefs': False
'externalrefs': False,
"stickysidebar": True,
"highlighttoc": True
}

html_sidebars = {'**': ['globaltoc.html', 'searchbox.html']}
Expand Down

0 comments on commit 0444166

Please sign in to comment.