From e1cc538d4eed558105bf45bab4cdc1c21e746504 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Tue, 1 Dec 2020 23:22:30 -0600 Subject: [PATCH] Switch to furo doc theme --- doc/conf.py | 23 +++-------------------- doc/index.rst | 4 ++-- 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 79e830c1..2218b166 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -30,6 +30,7 @@ extensions = [ "sphinx.ext.coverage", "sphinx.ext.mathjax", "sphinx.ext.viewcode", + "sphinx_copybutton", ] # Add any paths that contain templates here, relative to this directory. @@ -108,28 +109,10 @@ todo_include_todos = False # -- Options for HTML output ---------------------------------------------- -html_theme = "alabaster" +html_theme = "furo" html_theme_options = { - "extra_nav_links": { - "🚀 Github": "https://github.com/inducer/sumpy", - "💾 Download Releases": "https://pypi.org/project/sumpy", - } -} - -html_sidebars = { - "**": [ - "about.html", - "navigation.html", - "relations.html", - "searchbox.html", - ] -} - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -# html_theme_options = {} + } # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] diff --git a/doc/index.rst b/doc/index.rst index 26dab1f8..f0ad0074 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -21,8 +21,8 @@ Contents codegen eval misc - - + 🚀 Github <https://github.com/inducer/sumpy> + 💾 Download Releases <https://pypi.org/project/sumpy> Indices and tables ================== -- GitLab