summaryrefslogtreecommitdiffstats
path: root/rtemsspec/interfacedoc.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-09 08:45:52 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-10 09:41:34 +0100
commitcf72a499f35b9bfa77b7ee3a9b0dd4a0ad7d9326 (patch)
treeb2ce846c6cf33d9868343e8b71a2a69a90bb59da /rtemsspec/interfacedoc.py
parentutil: Add function to run commands (diff)
downloadrtems-central-cf72a499f35b9bfa77b7ee3a9b0dd4a0ad7d9326.tar.bz2
sphinxcontent: Add SphinxInterfaceMapper
Diffstat (limited to 'rtemsspec/interfacedoc.py')
-rw-r--r--rtemsspec/interfacedoc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtemsspec/interfacedoc.py b/rtemsspec/interfacedoc.py
index 3c575e14..0787c208 100644
--- a/rtemsspec/interfacedoc.py
+++ b/rtemsspec/interfacedoc.py
@@ -32,7 +32,7 @@ from typing import Any, Dict, List, Tuple
from rtemsspec.content import CContent
from rtemsspec.sphinxcontent import get_label, get_reference, SphinxContent, \
- SphinxMapper
+ SphinxInterfaceMapper
from rtemsspec.items import Item, ItemCache, ItemGetValueContext, ItemMapper
ItemMap = Dict[str, Item]
@@ -68,7 +68,7 @@ def _get_param(ctx: ItemGetValueContext) -> Any:
return f"``{_sanitize_name(ctx.value[ctx.key])}``"
-class _Mapper(SphinxMapper):
+class _Mapper(SphinxInterfaceMapper):
def __init__(self, item: Item, group_uids: List[str]):
super().__init__(item)
self._group_uids = set(group_uids)