python-kitchen/0001-replace-obsolete-pngmath-with-imgmath.patch
2020-08-06 10:47:43 +08:00

27 lines
1.5 KiB
Diff

diff --git a/kitchen2/docs/conf.py b/kitchen2/docs/conf.py
index 5885d48..b699d95 100644
--- a/kitchen2/docs/conf.py
+++ b/kitchen2/docs/conf.py
@@ -25,7 +25,7 @@ import kitchen.release
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff --git a/kitchen3/docs/conf.py b/kitchen3/docs/conf.py
index 5b70a39..fdc0a3b 100644
--- a/kitchen3/docs/conf.py
+++ b/kitchen3/docs/conf.py
@@ -25,7 +25,7 @@ import kitchen.release
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']