Amend explanation on the default-domain directive

This commit is contained in:
Juan Luis Cano Rodríguez committed 2021-09-13 15:24:36 +02:00
1 parent 1677f416bc
commit ccc95ea626
1 file changed
+3 -2
+3 -2
View File
@@ -54,8 +54,9 @@ Notice several things:
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.
:confval:`primary_domain` configuration, or use the
:rst:dir:`default-domain` directive to change it from the point it is called
until the end of the file.
For example, if you set it to ``py`` (the default), you can write
``.. function::`` directly.