diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-26 13:51:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-26 14:00:36 +0100 |
commit | dec8e2509f09c5b04cda432cb5368fbc5fa76502 (patch) | |
tree | ab18744a18bcf57b0f3c427d558833a94de9fbca | |
parent | spec: Move glossary specification (diff) | |
download | rtems-central-dec8e2509f09c5b04cda432cb5368fbc5fa76502.tar.bz2 |
sphinxcontent: Support recursive mappings
-rw-r--r-- | rtemsspec/sphinxcontent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtemsspec/sphinxcontent.py b/rtemsspec/sphinxcontent.py index b303d92e..5f5493fc 100644 --- a/rtemsspec/sphinxcontent.py +++ b/rtemsspec/sphinxcontent.py @@ -251,8 +251,8 @@ def _get_value_sphinx_unspecified_type(ctx: ItemGetValueContext) -> Any: class SphinxMapper(ItemMapper): """ Sphinx item mapper. """ - def __init__(self, item: Item): - super().__init__(item) + def __init__(self, item: Item, recursive: bool = False): + super().__init__(item, recursive) self.add_get_value("glossary/term:/term", _get_ref_term) self.add_get_value("glossary/term:/plural", _get_ref_term_plural) self.add_get_value("interface/appl-config-option/feature-enable:/name", |