Skip to content

Commit 8336dd6

Browse files
committed
Adding "engine" files for plantuml
Add the plantuml "engine" files for displaying directory trees.
1 parent 8d35316 commit 8336dd6

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

addon/doxmlparser/doxmlparser/compound.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,7 @@ class DoxPlantumlEngine(str, Enum):
11231123
HCL='hcl'
11241124
REGEX='regex'
11251125
EBNF='ebnf'
1126+
FILES='files'
11261127

11271128

11281129
class DoxProtectionKind(str, Enum):
@@ -23998,7 +23999,7 @@ def validate_DoxPlantumlEngine(self, value):
2399823999
self.gds_collector_.add_message('Value "%(value)s"%(lineno)s is not of the correct base simple type (str)' % {"value": value, "lineno": lineno, })
2399924000
return False
2400024001
value = value
24001-
enumerations = ['uml', 'bpm', 'wire', 'dot', 'ditaa', 'salt', 'math', 'latex', 'gantt', 'mindmap', 'wbs', 'yaml', 'creole', 'json', 'flow', 'board', 'git', 'hcl', 'regex', 'ebnf']
24002+
enumerations = ['uml', 'bpm', 'wire', 'dot', 'ditaa', 'salt', 'math', 'latex', 'gantt', 'mindmap', 'wbs', 'yaml', 'creole', 'json', 'flow', 'board', 'git', 'hcl', 'regex', 'ebnf', 'files']
2400224003
if value not in enumerations:
2400324004
lineno = self.gds_get_node_lineno_()
2400424005
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} )

doc/commands.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3418,7 +3418,7 @@ class Receiver
34183418
Not all diagrams can be created with the PlantUML `@startuml` command but need another
34193419
PlantUML `@start...` command. This will look like `@start<engine>` where currently supported are
34203420
the following `<engine>`s: `uml`, `bpm`, `wire`, `dot`, `ditaa`, `salt`, `math`, `latex`,
3421-
`gantt`, `mindmap`, `wbs`, `yaml`, `creole`, `json`, `flow`, `board`, `git`, `hcl`, `regex` and `ebnf`.
3421+
`gantt`, `mindmap`, `wbs`, `yaml`, `creole`, `json`, `flow`, `board`, `git`, `hcl`, `regex`, `ebnf` and `files`.
34223422
By default the `<engine>` is `uml`. The `<engine>` can be specified as an option.
34233423
Also the file to write the resulting image to can be specified by means of an option, see the
34243424
description of the first (optional) argument for details.

src/docnode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static const std::set<std::string> g_plantumlEngine {
7070
"uml", "bpm", "wire", "dot", "ditaa",
7171
"salt", "math", "latex", "gantt", "mindmap",
7272
"wbs", "yaml", "creole", "json", "flow",
73-
"board", "git", "hcl", "regex", "ebnf"
73+
"board", "git", "hcl", "regex", "ebnf", "files"
7474
};
7575

7676
//---------------------------------------------------------------------------

templates/xml/compound.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,7 @@
10781078
<xsd:enumeration value="hcl"/>
10791079
<xsd:enumeration value="regex"/>
10801080
<xsd:enumeration value="ebnf"/>
1081+
<xsd:enumeration value="files"/>
10811082
</xsd:restriction>
10821083
</xsd:simpleType>
10831084

0 commit comments

Comments
 (0)