From 124d0ef58e1710d5ed981e44a4b3a10cab949e9e Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sun, 1 Sep 2024 11:18:24 +0100 Subject: [PATCH] Don't try to use a theme we don't have Upstream switched to sphinx_material in 1d7aafad5c3ad634c9ae2122881c1809c2ccbcbe and later to sphinx_immaterial; Debian doesn't have those themes. (I haven't investigated packaging it, which might be a better long-term option.) Author: Rebecca N. Palmer Forwarded: not-needed Gbp-Pq: Name no_sphinx_material.patch --- docs/source/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 6d10b75..ead6eaf 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -55,7 +55,6 @@ extensions = ['sphinx.ext.autodoc', 'matplotlib.sphinxext.plot_directive', 'IPython.sphinxext.ipython_console_highlighting', 'IPython.sphinxext.ipython_directive', - "sphinx_immaterial", ] try: @@ -162,7 +161,7 @@ pygments_style = 'default' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'sphinx_immaterial' +html_theme = 'nature' html_title = project html_short_title = project html_extra_path = ['version_info/versions-v3.json'] @@ -247,7 +246,7 @@ html_static_path = ['_static'] # Custom sidebar templates, maps document names to template names. html_sidebars = { - "**": ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"] + "**": ["globaltoc.html", "localtoc.html", "searchbox.html"] } # Additional templates that should be rendered to pages, maps page names to -- 2.30.2