summaryrefslogtreecommitdiff
path: root/rtemsspec/applconfig.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-10-04 09:22:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-10-04 09:47:55 +0200
commitfe6dc94f3c9e6ea06ad259a4f69e388a64a486e2 (patch)
tree3445099d21eb98fc2694e691a12cce48452961ca /rtemsspec/applconfig.py
parent70b2e5914e6c326d50885ee8fe93f651371edafa (diff)
sphinxcontent: Improve SphinxInterfaceMapper
Diffstat (limited to 'rtemsspec/applconfig.py')
-rw-r--r--rtemsspec/applconfig.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemsspec/applconfig.py b/rtemsspec/applconfig.py
index e79873c8..cbaf7d13 100644
--- a/rtemsspec/applconfig.py
+++ b/rtemsspec/applconfig.py
@@ -313,7 +313,8 @@ def _add_doxygen_get_values(mapper: ItemMapper) -> None:
_get_value_doxygen_unspecfied_type)
-def generate(config: dict, item_cache: ItemCache) -> None:
+def generate(config: dict, group_uids: List[str],
+ item_cache: ItemCache) -> None:
"""
Generates application configuration documentation sources according to the
configuration.
@@ -322,7 +323,7 @@ def generate(config: dict, item_cache: ItemCache) -> None:
:param item_cache: The specification item cache containing the application
configuration groups and options.
"""
- sphinx_mapper = SphinxInterfaceMapper(EmptyItem())
+ sphinx_mapper = SphinxInterfaceMapper(EmptyItem(), group_uids)
doxygen_mapper = ItemMapper(EmptyItem())
_add_doxygen_get_values(doxygen_mapper)
doxygen_content = _DoxygenContentAdaptor(doxygen_mapper)