Skip to content

Commit

Permalink
DOC: Switch to cloud theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Aug 27, 2023
1 parent f572870 commit 782d374
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
Original file line number Diff line number Diff line change
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 cloud_sptheme

# 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 = 'cloud' # or 'redcloud', 'greencloud'
html_theme_options = {
#'nosidebar': True,
'navigation_with_keys': True,
}
html_sidebars = {
'**': [
'globaltoc.html',
#'localtoc.html',
#'relations.html',
'searchbox.html',
'sourcelink.html',
]
}

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

Expand Down
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cloud_sptheme
ipykernel
numpy
matplotlib
Expand Down

0 comments on commit 782d374

Please sign in to comment.