From 27b1606e7dfc0e031ec16b78ad8c53e6c2b744a2 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 1 Dec 2020 23:03:40 -0600 Subject: [PATCH] Switch to furo doc theme --- doc/conf.py | 23 +++-------------------- doc/index.rst | 3 ++- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 26c781f2..59f2f644 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -28,6 +28,7 @@ extensions = [ "sphinx.ext.coverage", "sphinx.ext.mathjax", "sphinx.ext.viewcode", + "sphinx_copybutton", ] # Add any paths that contain templates here, relative to this directory. @@ -44,7 +45,7 @@ master_doc = "index" # General information about the project. project = "pytential" -copyright = "2013, Andreas Kloeckner" +copyright = "2013-20, Andreas Kloeckner and contributors" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -98,29 +99,11 @@ 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/pytential", - "💾 Download Releases": "https://pypi.org/project/pytential", - } } -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 956e6d46..598cd464 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -22,8 +22,9 @@ Contents linalg tools misc - qbx + 🚀 Github + 💾 Download Releases * :ref:`genindex` * :ref:`modindex` -- GitLab