|
96 | 96 | # 'sphinx.ext.doctest', # numpy |
97 | 97 | "sphinx.ext.autosummary", # For summarizing autodoc-generated files |
98 | 98 | "sphinx.ext.extlinks", # For shortening internal links |
99 | | - # 'sphinx.ext.graphviz', # numpy |
| 99 | + "sphinx.ext.graphviz", # Draw Graphs in docs |
100 | 100 | # 'sphinx.ext.ifconfig', # numpy |
101 | 101 | # 'matplotlib.sphinxext.plot_directive', # numpy |
102 | 102 | # 'IPython.sphinxext.ipythoGn_console_highlighting', # numpy |
103 | 103 | # 'IPython.sphinxext.ipython_directive', # numpy |
104 | | - # 'sphinx.ext.imgmath', # numpy |
| 104 | + "sphinx.ext.mathjax", # Render math with mathjax |
105 | 105 | "sphinx_rtd_theme", # Theme |
106 | 106 | "recommonmark", # For markdown support, does not support 'full' CommonMark syntax (yet)! |
107 | 107 | ] |
|
347 | 347 | # "jintrac": ("https://users.euro-fusion.org/pages/data-cmg/wiki/", None) Behind password, so cannot link there |
348 | 348 | } |
349 | 349 |
|
| 350 | +# Configuration of sphinx.ext.graphviz |
| 351 | +# See https://www.sphinx-doc.org/en/master/usage/extensions/graphviz.html |
| 352 | + |
| 353 | +# Configuration of sphinx.ext.mathjax |
| 354 | +# See https://www.sphinx-doc.org/en/master/usage/extensions/math.html#module-sphinx.ext.mathjax |
350 | 355 |
|
351 | 356 | def escape_underscores(string): |
352 | 357 | return string.replace("_", r"\_") |
|
0 commit comments