From 414f33f07b2d1047f71b739a30005c07c5239c47 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 1 Dec 2020 21:55:51 -0600 Subject: [PATCH] Switch to furo doc theme --- doc/conf.py | 9 +++------ doc/index.rst | 2 ++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 965883f..8113d0f 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -36,6 +36,7 @@ release = ver_dic["VERSION_TEXT"] extensions = [ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", + "sphinx_copybutton", ] # Add any paths that contain templates here, relative to this directory. @@ -52,7 +53,7 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "alabaster" +html_theme = "furo" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, @@ -60,16 +61,12 @@ html_theme = "alabaster" html_static_path = ["_static"] html_theme_options = { - "extra_nav_links": { - "🚀 Github": "https://github.com/inducer/gmsh_interop", - "💾 Download Releases": "https://pypi.org/project/gmsh_interop", - } } autoclass_content = "class" intersphinx_mapping = { "https://docs.python.org/dev": None, - "https://docs.scipy.org/doc/numpy/": None, + "https://numpy.org/doc/stable/": None, "https://documen.tician.de/meshpy": None, } diff --git a/doc/index.rst b/doc/index.rst index 6c53428..c6dbf82 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -16,6 +16,8 @@ This package contains: reader runner misc + 🚀 Github + 💾 Download Releases Indices and tables -- GitLab