diff options
author | Jean-François B <jfbu@free.fr> | 2018-12-28 12:34:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-28 12:34:34 +0100 |
commit | 38c5ec13a54a2b7fcd7e70956ee99a656a651f13 (patch) | |
tree | c1c64c4eed1c10ab3e99e83e4bd1415f71e5bef5 /sphinx/application.py | |
parent | 221614654fed1ce7e07e6bb4e242e8c60c4caa67 (diff) | |
parent | 1e07cb10fc83b76dbffec89dac5f4a30a5e0b948 (diff) | |
download | sphinx-git-38c5ec13a54a2b7fcd7e70956ee99a656a651f13.tar.gz |
Merge pull request #5865 from jfbu/fix_spelling_typos
Fix various spelling typos
Diffstat (limited to 'sphinx/application.py')
-rw-r--r-- | sphinx/application.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 1f8ec58df..35ff80d33 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -1028,10 +1028,10 @@ class Sphinx(object): Example:: app.add_js_file('example.js') - # => <scrtipt src="_static/example.js"></script> + # => <script src="_static/example.js"></script> app.add_js_file('example.js', async="async") - # => <scrtipt src="_static/example.js" async="async"></script> + # => <script src="_static/example.js" async="async"></script> .. versionadded:: 0.5 @@ -1237,13 +1237,14 @@ class Sphinx(object): # type: (unicode, Tuple[Callable, Callable], Tuple[Callable, Callable]) -> None """Register a math renderer for HTML. - The *name* is a name of the math renderer. Both *inline_renderers* and - *block_renderes* are used as visitor functions for HTML writer. - *inline_renderers* is used for inline math node (``nodes.math`)). The - another is used for block math node (``nodes.math_block``). About - visitor functions, see :meth:`add_node` for more details. + The *name* is a name of math renderer. Both *inline_renderers* and + *block_renderers* are used as visitor functions for the HTML writer: + the former for inline math node (``nodes.math``), the latter for + block math node (``nodes.math_block``). Regarding visitor functions, + see :meth:`add_node` for details. .. versionadded:: 1.8 + """ self.registry.add_html_math_renderer(name, inline_renderers, block_renderers) |