From 283824d84ef7cf59200bb277b47605d875f5b336 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Thu, 5 Dec 2019 19:37:15 +0100 Subject: [PATCH] DOC: Switch to astropy theme --- doc/conf.py | 9 +++++++++ doc/requirements.txt | 1 + 2 files changed, 10 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index bbb90390..02f0c408 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -137,6 +137,15 @@ html_favicon = 'favicon.svg' html_title = project + ' version ' + release +html_theme = 'bootstrap-astropy' +html_theme_options = { + #'nosidebar': True, + 'navigation_with_keys': True, + + 'logotext1': 'astro', + 'logotext2': 'py', + 'logotext3': ':nbsphinx', +} # -- Options for LaTeX output --------------------------------------------- diff --git a/doc/requirements.txt b/doc/requirements.txt index 3c83291b..1cfea857 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ +astropy-sphinx-theme ipykernel numpy matplotlib