Skip to content

Commit

Permalink
DOC: Switch to sphinx_material theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Aug 14, 2024
1 parent ae3c9d9 commit e49d52d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,27 @@
html_favicon = 'favicon.svg'
html_title = project + ' version ' + release

html_theme = 'sphinx_material'
html_theme_options = {
'navigation_with_keys': True,
'nav_title': 'nbsphinx',
#'color_primary': 'blue',
#'color_accent': 'light-blue',
'repo_url': 'https://github.com/spatialaudio/nbsphinx',
'repo_name': 'nbsphinx on Github',
'repo_type': 'github',
'globaltoc_depth': 3,
'globaltoc_collapse': True,
'master_doc': True,
}
html_show_sourcelink = True
html_sidebars = {
'**': [
'globaltoc.html',
#'localtoc.html',
]
}

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

# See https://www.sphinx-doc.org/en/master/latex.html
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 @@
sphinx-material
ipykernel
numpy
matplotlib
Expand Down

0 comments on commit e49d52d

Please sign in to comment.