From a6246c1b655205bb4a917e38f4566a97385ab862 Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen Date: Fri, 1 Oct 2021 20:48:12 +0200 Subject: [PATCH] Typo fixes --- CHANGES | 2 +- doc/usage/restructuredtext/domains.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 3eac7c76f..3298acbd2 100644 --- a/CHANGES +++ b/CHANGES @@ -19,7 +19,7 @@ Features added * #9639: autodoc: Support asynchronous generator functions * #9664: autodoc: ``autodoc-process-bases`` supports to inject reST snippet as a base class -* 9691: C, added new info-field ``retval`` +* #9691: C, added new info-field ``retval`` for :rst:dir:`c:function` and :rst:dir:`c:macro`. * C++, added new info-field ``retval`` for :rst:dir:`cpp:function`. diff --git a/doc/usage/restructuredtext/domains.rst b/doc/usage/restructuredtext/domains.rst index aed756e97..99372c1d4 100644 --- a/doc/usage/restructuredtext/domains.rst +++ b/doc/usage/restructuredtext/domains.rst @@ -677,7 +677,7 @@ The C domain (name **c**) is suited for documentation of C API. Note that you don't have to backslash-escape asterisks in the signature, as it is not parsed by the reST inliner. - In the description of a function you can use the following info-fields + In the description of a function you can use the following info fields (see also :ref:`info-field-lists`). * ``param``, ``parameter``, ``arg``, ``argument``, @@ -723,7 +723,7 @@ The C domain (name **c**) is suited for documentation of C API. Describes a C macro, i.e., a C-language ``#define``, without the replacement text. - In the description of a macro you can use the same info-fields as for the + In the description of a macro you can use the same info fields as for the :rst:dir:`c:function` directive. .. versionadded:: 3.0