Skip to content

Commit

Permalink
DOC: Switch to guzzle theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Dec 30, 2022
1 parent 657e7ff commit ce9c0d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/conf.py
Expand Up @@ -3,6 +3,8 @@
# You can use sphinx-quickstart to create your own conf.py file!
# After that, you have to edit a few things. See below.

import guzzle_sphinx_theme

# Select nbsphinx and, if needed, other Sphinx extensions:
extensions = [
'nbsphinx',
Expand Down Expand Up @@ -129,6 +131,20 @@

html_favicon = 'favicon.svg'
html_title = project + ' version ' + release
html_theme_path = guzzle_sphinx_theme.html_theme_path()
html_theme = 'guzzle_sphinx_theme'

html_theme_options = {
'navigation_with_keys': True,

'project_nav_name': project,
'base_url': 'https://nbsphinx.readthedocs.io/en/guzzle-theme/',
'globaltoc_depth': 3,
#'globaltoc_collapse': False,
}
html_sidebars = {
'**': ['logo-text.html', 'globaltoc.html', 'searchbox.html']
}

# -- Options for LaTeX output ---------------------------------------------

Expand Down
1 change: 1 addition & 0 deletions doc/requirements.txt
@@ -1,3 +1,4 @@
guzzle_sphinx_theme
ipykernel
ipython!=8.7.0 # see https://github.com/spatialaudio/nbsphinx/issues/687
numpy
Expand Down

0 comments on commit ce9c0d9

Please sign in to comment.