diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-22 18:37:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-28 10:38:23 +0200 |
commit | 698f60ed002d1cef133e3cdec06f03b60b852133 (patch) | |
tree | 7094c96f410a3458e44a2046417798fd4fcfe551 /rtemsqual/specdoc.py | |
parent | spec: Add specification of specification items (diff) | |
download | rtems-central-698f60ed002d1cef133e3cdec06f03b60b852133.tar.bz2 |
specdoc: Fix format if no types are refined
Diffstat (limited to 'rtemsqual/specdoc.py')
-rw-r--r-- | rtemsqual/specdoc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rtemsqual/specdoc.py b/rtemsqual/specdoc.py index e32286d8..9ca5c5f0 100644 --- a/rtemsqual/specdoc.py +++ b/rtemsqual/specdoc.py @@ -217,11 +217,12 @@ class _Documenter: ] if len(refines) == 1: content.wrap(f"This type refines the {refines[0]}.") + content.paste(self._description) else: content.add_list(refines, "This type refines the following types:", add_blank_line=True) - content.paste(self._description) + content.wrap(self._description) def document(self, content: SphinxContent, |