aboutsummaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-11 11:47:33 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:42 +0200
commit9d9896d89cfc4ec2f549caad53f2386f15a202bb (patch)
treeaa53556c510d50dd3d55385216e82b6527b1a677 /doc/conf.py
parent708216769c7cdf02ce3f69785a4356efd7dea0f7 (diff)
downloadvis-9d9896d89cfc4ec2f549caad53f2386f15a202bb.tar.gz
vis-9d9896d89cfc4ec2f549caad53f2386f15a202bb.tar.xz
doc: enable mathjax support for sphinx documentation
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py
index d7291b8..1d17dd8 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -41,7 +41,9 @@ breathe_default_project = "vis"
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-extensions = ['breathe']
+extensions = ['breathe', 'sphinx.ext.mathjax' ]
+
+mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']