Don't try to use a theme we don't have
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sun, 21 Jan 2024 09:38:29 +0000 (09:38 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 21 Jan 2024 09:38:29 +0000 (09:38 +0000)
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 5ee5cb0b7cefd8e309d775a3453d2dc3e63b2897..ad812943de882f7a69211d23d1040e52327ee081 100644 (file)
@@ -56,7 +56,6 @@ extensions = ['sphinx.ext.autodoc',
               'matplotlib.sphinxext.plot_directive',
               'IPython.sphinxext.ipython_console_highlighting',
               'IPython.sphinxext.ipython_directive',
-              "sphinx_immaterial",
               ]
 
 try:
@@ -163,7 +162,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']
@@ -248,7 +247,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