manage_docs
authorDebian Python Team <team+python@tracker.debian.org>
Fri, 27 Oct 2023 09:24:17 +0000 (11:24 +0200)
committerDrew Parsons <dparsons@debian.org>
Fri, 27 Oct 2023 09:24:17 +0000 (11:24 +0200)
===================================================================

Gbp-Pq: Name manage_docs.patch

doc/source/conf.py

index 252699e3767466a18e01f8f078ef8ffa929fff5b..132f2fa4ba748a0686df59af713297ac1568a7a2 100644 (file)
@@ -43,7 +43,6 @@ extensions = [
     'sphinx.ext.coverage',
     'sphinx.ext.mathjax',
     'numpydoc',
-    'sphinx_design',
     'scipyoptdoc',
     'doi_role',
     'matplotlib.sphinxext.plot_directive',
@@ -141,13 +140,14 @@ exclude_patterns = [  # glob-style
 # be strict about warnings in our examples, we should write clean code
 # (exceptions permitted for pedagogical purposes below)
 warnings.resetwarnings()
-warnings.filterwarnings('error')
+warnings.filterwarnings('default')
 # allow these and show them
 warnings.filterwarnings('default', module='sphinx')  # internal warnings
 # global weird ones that can be safely ignored
 for key in (
         r"OpenSSL\.rand is deprecated",  # OpenSSL package in linkcheck
         r"distutils Version",  # distutils
+        r"the imp module is deprecated",  # invoke (via pooch)
         ):
     warnings.filterwarnings(  # deal with other modules having bad imports
         'ignore', message=".*" + key, category=DeprecationWarning)
@@ -181,7 +181,7 @@ html_favicon = '_static/favicon.ico'
 html_theme_options = {
   "github_url": "https://github.com/scipy/scipy",
   "twitter_url": "https://twitter.com/SciPy_team",
-  "navbar_end": ["theme-switcher", "version-switcher", "navbar-icon-links"],
+#  "navbar_end": ["theme-switcher", "version-switcher", "navbar-icon-links"],
   "switcher": {
       "json_url": "https://scipy.github.io/devdocs/_static/version_switcher.json",
       "version_match": version,