mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-03 09:53:01 -05:00
Improve text of some links
This commit is contained in:
@@ -9,7 +9,7 @@ docstrings <https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring>`_
|
||||
in the documentation, rather than having to write the information in two
|
||||
places.
|
||||
|
||||
Fortunately, :doc:`autodoc </usage/extensions/autodoc>` provides this
|
||||
Fortunately, :doc:`the autodoc extension </usage/extensions/autodoc>` provides this
|
||||
functionality.
|
||||
|
||||
Reusing signatures and docstrings with autodoc
|
||||
|
||||
@@ -11,8 +11,7 @@ Documenting Python objects
|
||||
--------------------------
|
||||
|
||||
Sphinx offers several roles and directives to document Python objects,
|
||||
all grouped together in the Python
|
||||
:doc:`domain </usage/restructuredtext/domains>`. For example, you can
|
||||
all grouped together in :ref:`the Python domain <python-domain>`. For example, you can
|
||||
use the :rst:dir:`py:function` directive to document a Python function,
|
||||
as follows:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user