Skip to content

Commit

Permalink
DOC: Switch to python_docs_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Aug 13, 2024
1 parent ae3c9d9 commit abedfae
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "!layout.html" %}

{% block footer %}
<div class="footer">
The original theme has a bunch of hard-coded information here.
</div>
{% endblock %}
11 changes: 11 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,17 @@

html_favicon = 'favicon.svg'
html_title = project + ' version ' + release
html_theme = 'python_docs_theme'
html_theme_options = {
'navigation_with_keys': True,
'issues_url': 'https://github.com/spatialaudio/nbsphinx/issues',
'root_name': '',
'root_url': '',
'root_icon': '',
#'root_include_title': False,
}
html_js_files = ['sidebar.js']
templates_path = ['_templates']

# -- 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 @@
python-docs-theme
ipykernel
numpy
matplotlib
Expand Down

0 comments on commit abedfae

Please sign in to comment.