From e1772bafda88cac5e37142f67ef5cd4c8cc3c504 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 17 Jul 2018 10:00:05 +0200 Subject: [PATCH] DOC: Fix typo: add_source_parsers() -> add_source_parser() --- doc/extdev/parserapi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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