From: Debian Python Modules Team
 <python-modules-team@lists.alioth.debian.org>
Date: Wed, 19 Jun 2019 18:56:33 +0000
Subject: Fix documentation issues

Removes the imgmath extension, (there appear to be no `.. math`
fields in the docs), unsets the default fontcssurl (which defaults to
a google web font), removes the overwrite template which rewrites all
links to point to http://xon.sh/, and disables the (unpackaged) runthis
extension.
Author: Gordon Ball <gordon@chronitis.net>
---
 docs/conf.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index edf2e63..df2c5bf 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -61,13 +61,11 @@ on_rtd = os.environ.get("READTHEDOCS", None) == "True"
 extensions = [
     "sphinx.ext.autodoc",
     "sphinx.ext.doctest",
-    "sphinx.ext.imgmath",
     "sphinx.ext.inheritance_diagram",
     "sphinx.ext.viewcode",
     #'sphinx.ext.autosummary',
     "numpydoc",
     "cmdhelp",
-    "runthis.sphinxext",
     "jinja_rst_ext",
 ]
 
@@ -176,7 +174,7 @@ if not on_rtd:
         "externalrefs": False,
         "collapsiblesidebar": True,
         "default_layout_text_size": "100%",  # prevents division by zero error
-        "fontcssurl": "https://fonts.googleapis.com/css?family=Noticia+Text|Open+Sans|Droid+Sans+Mono",
+        "fontcssurl": "",
     }
 
     # Add any paths that contain custom themes here, relative to this directory.
