Skip to content

Commit

Permalink
DOC: Switch to py3doc-enhanced theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jan 9, 2020
1 parent aad12aa commit 8c82fbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Use sphinx-quickstart to create your own conf.py file!
# After that, you have to edit a few things. See below.

import sphinx_py3doc_enhanced_theme

# Select nbsphinx and, if needed, other Sphinx extensions:
extensions = [
'nbsphinx',
Expand Down Expand Up @@ -102,6 +104,11 @@
# -- Options for HTML output ----------------------------------------------

html_title = project + ' version ' + release
html_theme = "sphinx_py3doc_enhanced_theme"
html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path()]
html_theme_options = {
'githuburl': 'https://github.com/spatialaudio/nbsphinx/',
}

# -- 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 @@
sphinx-py3doc-enhanced-theme
ipykernel
numpy
matplotlib
Expand Down

0 comments on commit 8c82fbf

Please sign in to comment.