From 82cccaaa1a687ac7b05b153ceadeec91acbc3c60 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Thu, 17 Oct 2019 12:34:11 +0200 Subject: [PATCH] DOC: Switch to pangeo theme --- doc/conf.py | 15 +++++++++++++++ doc/requirements.txt | 1 + 2 files changed, 16 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index bbb90390..9e2d318a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -137,6 +137,21 @@ html_favicon = 'favicon.svg' html_title = project + ' version ' + release +html_theme = 'pangeo' +html_theme_options = { + #'nosidebar': True, + 'navigation_with_keys': True, + #'pangeo_logo': '', + 'navbar_site_name': 'Contents', + 'navbar_pagenav_name': 'Page', + #'navbar_class': 'navbar', +} +html_sidebars = { + '**': [ + 'localtoc.html', + 'searchbox.html', + ] +} # -- Options for LaTeX output --------------------------------------------- diff --git a/doc/requirements.txt b/doc/requirements.txt index eafc24d2..9313465b 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,4 @@ +sphinx-pangeo-theme ipykernel numpy matplotlib