From bf2744815ba221f1e632931a2ae1f9577360a13e Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 14 Jun 2020 21:13:40 +0200 Subject: [PATCH] DOC: switch to sphinx_book_theme theme --- doc/conf.py | 8 ++++++++ doc/requirements.txt | 1 + 2 files changed, 9 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index bbb90390..ce420cf8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -137,6 +137,14 @@ html_favicon = 'favicon.svg' html_title = project + ' version ' + release +html_theme = 'sphinx_book_theme' +html_theme_options = { + 'repository_url': 'https://github.com/spatialaudio/nbsphinx', + 'use_repository_button': True, + 'use_issues_button': True, + 'use_edit_page_button': True, + 'path_to_docs': 'doc', +} # -- Options for LaTeX output --------------------------------------------- diff --git a/doc/requirements.txt b/doc/requirements.txt index eafc24d2..c773b3d5 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ +sphinx-book-theme ipykernel numpy matplotlib