From bfa6e8c0deb0e85d642ec2ca90318bb3b1fea28b Mon Sep 17 00:00:00 2001 From: bond Date: Tue, 19 Jul 2011 22:35:52 +0200 Subject: [PATCH] some changes to math docs --- doc/ext/math.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/ext/math.rst b/doc/ext/math.rst index e6e1826b0..6ae2c7198 100644 --- a/doc/ext/math.rst +++ b/doc/ext/math.rst @@ -4,16 +4,15 @@ Math support in Sphinx ====================== .. module:: sphinx.ext.mathbase - :synopsis: Common math support for pngmath and jsmath. + :synopsis: Common math support for pngmath and mathjax / jsmath. .. versionadded:: 0.5 Since mathematical notation isn't natively supported by HTML in any way, Sphinx -supports math in documentation with two extensions. +supports math in documentation with several extensions. -The basic math support that is common to both extensions is contained in -:mod:`sphinx.ext.mathbase`. Other math support extensions should, -if possible, reuse that support too. +The basic math support is contained in :mod:`sphinx.ext.mathbase`. Other math +support extensions should, if possible, reuse that support too. .. note:: @@ -103,7 +102,8 @@ This extension renders math via LaTeX and dvipng_ into PNG images. This of course means that the computer where the docs are built must have both programs available. -There are various config values you can set to influence how the images are built: +There are various config values you can set to influence how the images are +built: .. confval:: pngmath_latex @@ -196,7 +196,7 @@ Sphinx. .. confval:: mathjax_path The path to the JavaScript file to include in the HTML files in order to load - JSMath. + MathJax. The default is the ``http://`` URL that loads the JS files from the `MathJax CDN `_. If you want MathJax to @@ -206,7 +206,7 @@ Sphinx. The path can be absolute or relative; if it is relative, it is relative to the ``_static`` directory of the built docs. - For example, if you put JSMath into the static path of the Sphinx docs, this + For example, if you put MathJax into the static path of the Sphinx docs, this value would be ``MathJax/MathJax.js``. If you host more than one Sphinx documentation set on one server, it is advisable to install MathJax in a shared location.