Don't try to use a theme we don't have
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 5 Oct 2024 10:43:25 +0000 (11:43 +0100)
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 <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name no_sphinx_material.patch

docs/source/conf.py

index 6d10b7554a9c0f898d5bad24fef2da16c87a0024..ead6eaf061203d668015d9786a475ecdd151a187 100644 (file)
@@ -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