From: Debian Science Maintainers Date: Sat, 5 Oct 2024 10:43:25 +0000 (+0100) Subject: Don't try to use a theme we don't have X-Git-Tag: archive/raspbian/0.14.4+dfsg-1+rpi1^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a889ee257562028be77f98d7d205af15a82adb6b;p=statsmodels.git 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 --- 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