mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update tutorial.rst
This commit is contained in:
parent
dd8c3211be
commit
16cbf658a2
@ -153,9 +153,9 @@ very general sense) in any :dfn:`domain`. A domain is a collection of object
|
|||||||
types that belong together, complete with markup to create and reference
|
types that belong together, complete with markup to create and reference
|
||||||
descriptions of these objects.
|
descriptions of these objects.
|
||||||
|
|
||||||
The most prominent domain is the Python domain. To e.g. document the Python
|
The most prominent domain is the Python domain. For example, to document
|
||||||
built-in function ``enumerate()``, you would add this to one of your source
|
Python's built-in function ``enumerate()``, you would add this to one of your
|
||||||
files::
|
source files::
|
||||||
|
|
||||||
.. py:function:: enumerate(sequence[, start=0])
|
.. py:function:: enumerate(sequence[, start=0])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user