diff --git a/addon/doxmlparser/doxmlparser/compound.py b/addon/doxmlparser/doxmlparser/compound.py index 30184460d63..ec70ebe1e9d 100644 --- a/addon/doxmlparser/doxmlparser/compound.py +++ b/addon/doxmlparser/doxmlparser/compound.py @@ -1119,6 +1119,8 @@ class DoxPlantumlEngine(str, Enum): FLOW='flow' BOARD='board' GIT='git' + HCL='hcl' + REGEX='regex' EBNF='ebnf' @@ -23728,7 +23730,7 @@ def validate_DoxPlantumlEngine(self, value): self.gds_collector_.add_message('Value "%(value)s"%(lineno)s is not of the correct base simple type (str)' % {"value": value, "lineno": lineno, }) return False value = value - enumerations = ['uml', 'bpm', 'wire', 'dot', 'ditaa', 'salt', 'math', 'latex', 'gantt', 'mindmap', 'wbs', 'yaml', 'creole', 'json', 'flow', 'board', 'git', 'ebnf'] + enumerations = ['uml', 'bpm', 'wire', 'dot', 'ditaa', 'salt', 'math', 'latex', 'gantt', 'mindmap', 'wbs', 'yaml', 'creole', 'json', 'flow', 'board', 'git', 'hcl', 'regex', 'ebnf'] if value not in enumerations: lineno = self.gds_get_node_lineno_() self.gds_collector_.add_message('Value "%(value)s"%(lineno)s does not match xsd enumeration restriction on DoxPlantumlEngine' % {"value" : encode_str_2_3(value), "lineno": lineno} ) diff --git a/doc/commands.doc b/doc/commands.doc index d8f13d507d5..3c5cc5ea6e6 100644 --- a/doc/commands.doc +++ b/doc/commands.doc @@ -3189,7 +3189,7 @@ class Receiver Not all diagrams can be created with the PlantUML `@startuml` command but need another PlantUML `@start...` command. This will look like `@start` where currently supported are the following ``s: `uml`, `bpm`, `wire`, `dot`, `ditaa`, `salt`, `math`, `latex`, - `gantt`, `mindmap`, `wbs`, `yaml`, `creole`, `json`, `flow`, `board`, `git` and `ebnf`. + `gantt`, `mindmap`, `wbs`, `yaml`, `creole`, `json`, `flow`, `board`, `git`, `hcl`, `regex` and `ebnf`. By default the `` is `uml`. The `` can be specified as an option. Also the file to write the resulting image to can be specified by means of an option, see the description of the first (optional) argument for details. diff --git a/src/docnode.cpp b/src/docnode.cpp index 0c87d0784cf..970147fbfe1 100644 --- a/src/docnode.cpp +++ b/src/docnode.cpp @@ -57,7 +57,7 @@ static const std::set g_plantumlEngine { "uml", "bpm", "wire", "dot", "ditaa", "salt", "math", "latex", "gantt", "mindmap", "wbs", "yaml", "creole", "json", "flow", - "board", "git", "ebnf" + "board", "git", "hcl", "regex", "ebnf" }; //--------------------------------------------------------------------------- diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd index b4b54fa14eb..ea9ff6c6aa4 100644 --- a/templates/xml/compound.xsd +++ b/templates/xml/compound.xsd @@ -1017,6 +1017,8 @@ + +