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 May 6, 2024
1 parent e9cb489 commit e521f15
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 @@ -137,6 +139,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 @@
git+https://github.com/guzzle/guzzle_sphinx_theme.git@master
ipykernel
numpy
matplotlib
Expand Down

0 comments on commit e521f15

Please sign in to comment.