Commit 452627ce authored by Stefan Behnel's avatar Stefan Behnel

Docs: switch from outdated "pngmath" sphinx package to "imgmath", and use "svg" as output format.

See #2818.
parent 90736d26
...@@ -41,7 +41,7 @@ highlight_language = 'cython' ...@@ -41,7 +41,7 @@ highlight_language = 'cython'
extensions = [ extensions = [
'ipython_console_highlighting', 'ipython_console_highlighting',
'cython_highlighting', 'cython_highlighting',
'sphinx.ext.pngmath', 'sphinx.ext.imgmath',
'sphinx.ext.todo', 'sphinx.ext.todo',
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
'sphinx.ext.autodoc' 'sphinx.ext.autodoc'
...@@ -132,6 +132,9 @@ intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)} ...@@ -132,6 +132,9 @@ intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
# If true, keep warnings as "system message" paragraphs in the built documents. # If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False #keep_warnings = False
# The output image format. The default is 'png'. It should be either 'png' or 'svg'.
imgmath_image_format = "svg"
# -- Options for HTML output --------------------------------------------------- # -- Options for HTML output ---------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment