doc: fix func/meth references to Sphinx

This commit is contained in:
Daniel Hahler 2018-06-25 08:23:15 +02:00
parent e1201f2779
commit 8f94429a21
4 changed files with 4 additions and 4 deletions

View File

@ -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 In Sphinx, the parser modules works as same as docutils. The parsers are
registered to Sphinx by extensions using Application APIs; 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_parsers()`.
The *source suffix* is a mapping from file suffix to file type. For example, The *source suffix* is a mapping from file suffix to file type. For example,
``.rst`` file is mapped to ``'restructuredtext'`` type. Sphinx uses the ``.rst`` file is mapped to ``'restructuredtext'`` type. Sphinx uses the

View File

@ -142,7 +142,7 @@ General configuration
.. versionadded:: 1.3 .. versionadded:: 1.3
.. deprecated:: 1.8 .. deprecated:: 1.8
Now Sphinx provides an API :meth:`Sphinx.add_source_parser` to register Now Sphinx provides an API :meth:`.Sphinx.add_source_parser` to register
a source parser. Please use it instead. a source parser. Please use it instead.
.. confval:: master_doc .. confval:: master_doc

View File

@ -62,7 +62,7 @@ Cross-referencing anything
by :rst:role:`doc`, :rst:role:`ref` or :rst:role:`option`. by :rst:role:`doc`, :rst:role:`ref` or :rst:role:`option`.
Custom objects added to the standard domain by extensions (see Custom objects added to the standard domain by extensions (see
:meth:`Sphinx.add_object_type`) are also searched. :meth:`.Sphinx.add_object_type`) are also searched.
* Then, it looks for objects (targets) in all loaded domains. It is up to * Then, it looks for objects (targets) in all loaded domains. It is up to
the domains how specific a match must be. For example, in the Python the domains how specific a match must be. For example, in the Python

View File

@ -642,7 +642,7 @@ class Sphinx(object):
a title. a title.
Other keyword arguments are used for node visitor functions. See the Other keyword arguments are used for node visitor functions. See the
:meth:`Sphinx.add_node` for details. :meth:`.Sphinx.add_node` for details.
.. versionadded:: 1.4 .. versionadded:: 1.4
""" """