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 31, 2021
1 parent beb8fd6 commit 51b463b
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 @@
# 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 @@ -130,6 +132,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
numpy
matplotlib
Expand Down

0 comments on commit 51b463b

Please sign in to comment.