diff options
author | Matthias Geier <Matthias.Geier@gmail.com> | 2018-07-17 10:00:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 10:00:05 +0200 |
commit | e1772bafda88cac5e37142f67ef5cd4c8cc3c504 (patch) | |
tree | 1729576a424ab39102665e76541b4d9761b1b119 /doc/extdev/parserapi.rst | |
parent | 3e57ea0a5253ac198c1bff16c40abe71951bb586 (diff) | |
download | sphinx-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.rst | 2 |
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 |