[rtems-central commit] applconfig: Support glossary term plurals
Sebastian Huber
sebh at rtems.org
Wed Oct 12 05:53:13 UTC 2022
Module: rtems-central
Branch: master
Commit: 1bfce22a06a5a6e48b8fca463b7b502e99b370db
Changeset: http://git.rtems.org/rtems-central/commit/?id=1bfce22a06a5a6e48b8fca463b7b502e99b370db
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 5 19:11:48 2022 +0200
applconfig: Support glossary term plurals
---
rtemsspec/applconfig.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rtemsspec/applconfig.py b/rtemsspec/applconfig.py
index cbaf7d13..a2f22d2a 100644
--- a/rtemsspec/applconfig.py
+++ b/rtemsspec/applconfig.py
@@ -27,7 +27,8 @@
from typing import Any, Dict, List, Optional
from rtemsspec.content import Content, CContent, get_value_double_colon, \
- get_value_doxygen_function, get_value_doxygen_group, get_value_hash
+ get_value_doxygen_function, get_value_doxygen_group, get_value_hash, \
+ get_value_plural
from rtemsspec.sphinxcontent import GenericContent, SphinxContent, \
SphinxInterfaceMapper
from rtemsspec.items import EmptyItem, Item, ItemCache, ItemGetValueContext, \
@@ -289,6 +290,7 @@ def _add_doxygen_get_values(mapper: ItemMapper) -> None:
for opt in ["feature-enable", "feature", "initializer", "integer"]:
name = f"interface/appl-config-option/{opt}:/name"
mapper.add_get_value(name, get_value_hash)
+ mapper.add_get_value("glossary/term:/plural", get_value_plural)
mapper.add_get_value("interface/define:/name", get_value_hash)
mapper.add_get_value("interface/function:/name",
get_value_doxygen_function)
More information about the vc
mailing list