Skip to content

Commit ccc95ea

Browse files
committed
Amend explanation on the default-domain directive
1 parent 1677f41 commit ccc95ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/tutorial/describing-code.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ Notice several things:
5454

5555
The ``py:`` prefix specifies the :term:`domain`. You may configure the
5656
default domain so you can omit the prefix, either globally using the
57-
:confval:`primary_domain` configuration, or per-file using the
58-
:rst:dir:`default-domain` directive.
57+
:confval:`primary_domain` configuration, or use the
58+
:rst:dir:`default-domain` directive to change it from the point it is called
59+
until the end of the file.
5960
For example, if you set it to ``py`` (the default), you can write
6061
``.. function::`` directly.
6162

0 commit comments

Comments
 (0)