1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Replace deprecated Sphinx module pngmath with imgmath
morse-simulator used the deprecated and later removed Sphinx extension
pngmath. This caused a FTBFS with newer Sphinx versions. pngmath can
be replaced with imgmath.
Author: Micha David Rosenbaum <micha@rosetree.de>
Bug-Debian: https://bugs.debian.org/921897
Last-Update: 2019-02-10
--- morse-simulator-1.4.orig/doc/conf.py.in
+++ morse-simulator-1.4/doc/conf.py.in
@@ -26,7 +26,7 @@ sys.path.append('@CMAKE_CURRENT_SOURCE_D
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'tag', 'examples']
-extensions.append('sphinx.ext.pngmath')
+extensions.append('sphinx.ext.imgmath')
# Add any paths that contain templates here, relative to this directory.
templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/doc/morse-theme/templates', '@CMAKE_CURRENT_SOURCE_DIR@/doc/sphinxext']
|