From 45e51c08ab96d30e8daed06fccf8f4a8b6f6c276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Mon, 3 Jun 2024 18:25:56 +0200 Subject: [PATCH] doc: fixed :c:enum: used in lieu of :c:enumerator: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While Breathe seems to not care, the proper role to reference an enumerator is :c:enumerator: Signed-off-by: Benjamin Cabé --- doc/releases/release-notes-3.5.rst | 2 +- doc/releases/release-notes-3.6.rst | 2 +- doc/services/file_system/index.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/releases/release-notes-3.5.rst b/doc/releases/release-notes-3.5.rst index dbe295829a6..aea5c731abb 100644 --- a/doc/releases/release-notes-3.5.rst +++ b/doc/releases/release-notes-3.5.rst @@ -2094,7 +2094,7 @@ Libraries / Subsystems :kconfig:option:`CONFIG_MCUMGR_MGMT_HANDLER_USER_DATA` is enabled. * Added optional ``force`` parameter to os mgmt reset command, this can be checked in the - :c:enum:`MGMT_EVT_OP_OS_MGMT_RESET` notification callback whose data structure is + :c:enumerator:`MGMT_EVT_OP_OS_MGMT_RESET` notification callback whose data structure is :c:struct:`os_mgmt_reset_data`. * Added configurable number of SMP encoding levels via diff --git a/doc/releases/release-notes-3.6.rst b/doc/releases/release-notes-3.6.rst index 56ed7e71983..8bbec8f1be3 100644 --- a/doc/releases/release-notes-3.6.rst +++ b/doc/releases/release-notes-3.6.rst @@ -1007,7 +1007,7 @@ Libraries / Subsystems MCUboot or currently running application slot. * Fixed an issue whereby messages that were too large to be sent over the UDP transport would - wrongly return :c:enum:`MGMT_ERR_EINVAL` instead of :c:enum:`MGMT_ERR_EMSGSIZE`. + wrongly return :c:enumerator:`MGMT_ERR_EINVAL` instead of :c:enumerator:`MGMT_ERR_EMSGSIZE`. * Fixed an issue where confirming an image in Direct XIP mode would always confirm the image in the primary slot even when executing from the secondary slot. Now the currently active image is diff --git a/doc/services/file_system/index.rst b/doc/services/file_system/index.rst index 74476da6dc0..3c038847916 100644 --- a/doc/services/file_system/index.rst +++ b/doc/services/file_system/index.rst @@ -14,7 +14,7 @@ mechanisms. In Zephyr, any file system implementation or library can be plugged into or pulled out through a file system registration API. Each file system implementation must have a globally unique integer identifier; use -:c:macro:`FS_TYPE_EXTERNAL_BASE` to avoid clashes with in-tree identifiers. +:c:enumerator:`FS_TYPE_EXTERNAL_BASE` to avoid clashes with in-tree identifiers. .. code-block:: c