diff options
| author | georg.brandl <devnull@localhost> | 2008-08-06 14:57:44 +0000 |
|---|---|---|
| committer | georg.brandl <devnull@localhost> | 2008-08-06 14:57:44 +0000 |
| commit | f229bc88f1b1913fabf406c5dbb4b4d46cc49b74 (patch) | |
| tree | e37ab22665cc88c28848ad3f73b799a72a0d715f /tests | |
| parent | f4dc16016b85ac92cd98d7d5d5120a7dbe7ce833 (diff) | |
| download | sphinx-f229bc88f1b1913fabf406c5dbb4b4d46cc49b74.tar.gz | |
Test suite update for math extension.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/root/conf.py | 3 | ||||
| -rw-r--r-- | tests/root/contents.txt | 1 | ||||
| -rw-r--r-- | tests/root/math.txt | 22 |
3 files changed, 25 insertions, 1 deletions
diff --git a/tests/root/conf.py b/tests/root/conf.py index fd04933b..5d449b10 100644 --- a/tests/root/conf.py +++ b/tests/root/conf.py @@ -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'] diff --git a/tests/root/contents.txt b/tests/root/contents.txt index f890f172..84f380cc 100644 --- a/tests/root/contents.txt +++ b/tests/root/contents.txt @@ -13,6 +13,7 @@ Contents: images includes markup + math Indices and tables ================== diff --git a/tests/root/math.txt b/tests/root/math.txt new file mode 100644 index 00000000..36b24494 --- /dev/null +++ b/tests/root/math.txt @@ -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`. |
