summaryrefslogtreecommitdiff
path: root/doc/extdev/parserapi.rst
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2018-07-17 10:00:05 +0200
committerGitHub <noreply@github.com>2018-07-17 10:00:05 +0200
commite1772bafda88cac5e37142f67ef5cd4c8cc3c504 (patch)
tree1729576a424ab39102665e76541b4d9761b1b119 /doc/extdev/parserapi.rst
parent3e57ea0a5253ac198c1bff16c40abe71951bb586 (diff)
downloadsphinx-git-e1772bafda88cac5e37142f67ef5cd4c8cc3c504.tar.gz
DOC: Fix typo: add_source_parsers() -> add_source_parser()
Diffstat (limited to 'doc/extdev/parserapi.rst')
-rw-r--r--doc/extdev/parserapi.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extdev/parserapi.rst b/doc/extdev/parserapi.rst
index 11a690387..0beb51711 100644
--- a/doc/extdev/parserapi.rst
+++ b/doc/extdev/parserapi.rst
@@ -12,7 +12,7 @@ __ http://docutils.sourceforge.net/docs/dev/hacking.html#parsing-the-document
In Sphinx, the parser modules works as same as docutils. The parsers are
registered to Sphinx by extensions using Application APIs;
-:meth:`.Sphinx.add_source_suffix()` and :meth:`.Sphinx.add_source_parsers()`.
+:meth:`.Sphinx.add_source_suffix()` and :meth:`.Sphinx.add_source_parser()`.
The *source suffix* is a mapping from file suffix to file type. For example,
``.rst`` file is mapped to ``'restructuredtext'`` type. Sphinx uses the