Skip to content

Commit 51f6701

Browse files
committed
Adding "engine" project for plantuml
Small project example: ``` startuml{project} Project starts 2026-03-17 saturday are closed sunday are closed ' Milestones [Review 01] happens at 2026-03-30 [Review 02] happens on 21 days after [Review 01]'s end @enduml ```
1 parent 743f4f1 commit 51f6701

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

addon/doxmlparser/doxmlparser/compound.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ class DoxPlantumlEngine(str, Enum):
11311131
REGEX='regex'
11321132
EBNF='ebnf'
11331133
FILES='files'
1134+
PROJECT='project'
11341135

11351136

11361137
class DoxProtectionKind(str, Enum):
@@ -24555,7 +24556,7 @@ def validate_DoxPlantumlEngine(self, value):
2455524556
self.gds_collector_.add_message('Value "%(value)s"%(lineno)s is not of the correct base simple type (str)' % {"value": value, "lineno": lineno, })
2455624557
return False
2455724558
value = value
24558-
enumerations = ['uml', 'bpm', 'wire', 'dot', 'ditaa', 'salt', 'math', 'latex', 'gantt', 'mindmap', 'wbs', 'yaml', 'creole', 'json', 'flow', 'board', 'git', 'hcl', 'regex', 'ebnf', 'files']
24559+
enumerations = ['uml', 'bpm', 'wire', 'dot', 'ditaa', 'salt', 'math', 'latex', 'gantt', 'mindmap', 'wbs', 'yaml', 'creole', 'json', 'flow', 'board', 'git', 'hcl', 'regex', 'ebnf', 'files', 'project']
2455924560
if value not in enumerations:
2456024561
lineno = self.gds_get_node_lineno_()
2456124562
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
@@ -3590,7 +3590,7 @@ class Receiver
35903590
PlantUML `@start...` command. This will look like `@start<engine>` where currently supported are
35913591
the following `<engine>`s: `uml`, `bpm`, `wire`, `dot`, `ditaa`, `salt`, `math`, `latex`,
35923592
`gantt`, `mindmap`, `wbs`, `yaml`, `creole`, `json`, `flow`, `board`, `git`, `hcl`, `regex`, `ebnf`,
3593-
`files`, `chen` and `chronology`.
3593+
`project`, `files`, `chen` and `chronology`.
35943594
By default the `<engine>` is `uml`. The `<engine>` can be specified as an option.
35953595
Also the file to write the resulting image to can be specified by means of an option, see the
35963596
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
@@ -72,7 +72,7 @@ static const StringUnorderedSet g_plantumlEngine {
7272
"salt", "math", "latex", "gantt", "mindmap",
7373
"wbs", "yaml", "creole", "json", "flow",
7474
"board", "git", "hcl", "regex", "ebnf",
75-
"files", "chen", "chronology"
75+
"project", "files", "chen", "chronology"
7676
};
7777

7878
//---------------------------------------------------------------------------

templates/xml/compound.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,7 @@
12091209
<xsd:enumeration value="regex"/>
12101210
<xsd:enumeration value="ebnf"/>
12111211
<xsd:enumeration value="files"/>
1212+
<xsd:enumeration value="project"/>
12121213
</xsd:restriction>
12131214
</xsd:simpleType>
12141215

0 commit comments

Comments
 (0)