Test suite update for math extension.

This commit is contained in:
Georg Brandl
2008-08-06 14:57:44 +00:00
parent 26d724cb6d
commit 6d89feae1e
5 changed files with 30 additions and 6 deletions

View File

@@ -23,7 +23,8 @@ sys.path.append(os.path.abspath('.'))
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['ext', 'sphinx.ext.autodoc']
extensions = ['ext', 'sphinx.ext.autodoc', 'sphinx.ext.jsmath']
jsmath_path = 'dummy.js'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@@ -13,6 +13,7 @@ Contents:
images
includes
markup
math
Indices and tables
==================

22
tests/root/math.txt Normal file
View File

@@ -0,0 +1,22 @@
Test math extensions
====================
This is inline math: :math:`a^2 + b^2 = c^2`.
.. math:: a^2 + b^2 = c^2
.. math::
a^2 + b^2 = c^2
.. math::
:label: foo
e^{i\pi} = 1
.. math::
:label:
e^{ix} = \cos x + i\sin x
Referencing equation :eq:`foo`.