From: Debian Python Team Date: Fri, 23 Feb 2024 12:24:19 +0000 (+0100) Subject: manage_docs X-Git-Tag: archive/raspbian/1.11.4-6+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef0bdd7c2f449edfdd9f7ae157d2f66da89bd968;p=scipy.git manage_docs =================================================================== Gbp-Pq: Name manage_docs.patch --- diff --git a/doc/source/conf.py b/doc/source/conf.py index 5f1d9acc..23121982 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -46,11 +46,10 @@ extensions = [ 'sphinx.ext.coverage', 'sphinx.ext.mathjax', 'numpydoc', - 'sphinx_design', 'scipyoptdoc', 'doi_role', 'matplotlib.sphinxext.plot_directive', - 'myst_nb', +# 'myst_nb', ] @@ -138,13 +137,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) @@ -201,7 +201,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,