diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-21 09:53:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-21 09:54:22 +0200 |
commit | 14378aae12b59e52707c78a4c1e41428874c6fcf (patch) | |
tree | 8a68449a2cecea5582a0dbda5aac4e9e71a20437 | |
parent | modules: Update rtems (diff) | |
download | rtems-central-14378aae12b59e52707c78a4c1e41428874c6fcf.tar.bz2 |
interfacedoc: Substitute group descriptions
-rw-r--r-- | rtemsspec/interfacedoc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemsspec/interfacedoc.py b/rtemsspec/interfacedoc.py index 0787c208..1091f98b 100644 --- a/rtemsspec/interfacedoc.py +++ b/rtemsspec/interfacedoc.py @@ -107,8 +107,9 @@ def _generate_introduction(target: str, group: Item, group_uids: List[str], content.append("") content.gap = False - content.wrap(group["brief"]) - content.wrap(group["description"]) + mapper = _Mapper(group, group_uids) + content.wrap(mapper.substitute(group["brief"])) + content.wrap(mapper.substitute(group["description"])) content.paste(f"The directives provided by the {group_name} are:") for item in items: |