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 Apr 11, 2018
1 parent 89cbb76 commit 9b689cf
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, add a math extension (mathjax or pngmath):
extensions = [
'nbsphinx',
Expand Down Expand Up @@ -103,6 +105,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 @@ -6,3 +6,5 @@ dependencies:
- pandoc
- nbconvert
- ipykernel
- pip:
- sphinx-py3doc-enhanced-theme
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx>=1.5.1
nbsphinx
ipykernel
sphinx-py3doc-enhanced-theme

0 comments on commit 9b689cf

Please sign in to comment.