diff --git a/doc/arm/_ext/iscconf.py b/doc/arm/_ext/iscconf.py index f1b4c7e118..0edd285965 100644 --- a/doc/arm/_ext/iscconf.py +++ b/doc/arm/_ext/iscconf.py @@ -134,6 +134,12 @@ def domain_factory(domainname, domainlabel, todolist, grammar): tags += nodes.Text(", ".join(self.isc_tags)) contentnode.insert(0, tags) + names = self.get_signatures() + if len(names) != 1: + raise NotImplementedError( + "statements with more than one name are not supported", names + ) + name = domainname label = domainlabel