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 Dec 14, 2018
1 parent d28ce81 commit 90ca2c6
Show file tree
Hide file tree
Showing 3 changed files with 10 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 @@ -4,6 +4,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 @@ -128,6 +130,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
2 changes: 2 additions & 0 deletions doc/readthedocs-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ dependencies:
- matplotlib
- pandas
- sphinxcontrib-bibtex
- pip:
- sphinx-py3doc-enhanced-theme
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ numpy
matplotlib
pandas
sphinxcontrib-bibtex
sphinx-py3doc-enhanced-theme

0 comments on commit 90ca2c6

Please sign in to comment.