diff options
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/describing-code.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/tutorial/describing-code.rst b/doc/tutorial/describing-code.rst index bf6660b93..4e98f3605 100644 --- a/doc/tutorial/describing-code.rst +++ b/doc/tutorial/describing-code.rst @@ -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. |