Reword primary domains

This commit is contained in:
Juan Luis Cano Rodríguez
2021-09-06 16:24:11 +02:00
parent 722629b35b
commit da93cfc07f

View File

@@ -55,9 +55,12 @@ Notice several things:
.. note::
Since Python is the default :term:`domain`, you can write
``.. function::`` directly without having to prefix the directive with
``py:``.
The ``py:`` prefix specifies the :term:`domain`. You may configure the
default domain so you can omit the prefix, either globally using the
:confval:`primary_domain` configuration, or per-file using the
:rst:dir:`default-domain` directive.
For example, if you set it to ``py`` (the default), you can write
``.. function::`` directly.
Cross-referencing Python objects
--------------------------------