PlantUML integration: using a different engine
Tobias Gerg <[email protected]> Tue, 21 Jun 2022 10:15:19 +0000
| Newsgroups | gmane.text.doxygen.general |
|---|---|
| Message-ID | <GV1P193MB221564B5382BBD7EB0594647C7B39@GV1P193MB2215.EURP193.PROD.OUTLOOK.COM> |
--===============0963331893913957370==
Content-Language: de-DE
Content-Type: multipart/alternative;
boundary="_000_GV1P193MB221564B5382BBD7EB0594647C7B39GV1P193MB2215EURP_"
--_000_GV1P193MB221564B5382BBD7EB0594647C7B39GV1P193MB2215EURP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi guys,
Doxygen version is 1.8.18.
I'm trying to get the JSON diagrams generated by plantUML into my doxygen d=
ocumentation.
I'm using variations of the following snippet
///@startuml{engine=3Djson}
///{
/// "firstName": "John",
/// "lastName": "Smith",
/// "isAlive": true,
/// "age": 27,
/// "address": {
/// "streetAddress": "21 2nd Street",
/// "city": "New York",
/// "state": "NY",
/// "postalCode": "10021-3100"
/// },
/// "phoneNumbers": [
/// {
/// "type": "home",
/// "number": "212 555-1234"
/// },
/// {
/// "type": "office",
/// "number": "646 555-4567"
/// }
/// ],
/// "children": [],
/// "spouse": null
///}
///@enduml
I've altered the startuml syntax as follows
@startjson
@startuml{json}
I get either a syntax error from doxygen when it runs plantUML or I get the=
json text flat in the documentation.
Any Ideas
Thanks
Tobi
--_000_GV1P193MB221564B5382BBD7EB0594647C7B39GV1P193MB2215EURP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
color: rgb(0, 0, 0);" class=3D"elementToProof">
Hi guys,<br>
<br>
Doxygen version is 1.8.18.<br>
<br>
I'm trying to get the JSON diagrams generated by plantUML into my doxygen d=
ocumentation. <br>
<br>
I'm using variations of the following snippet<br>
<div style=3D"color:#d4d4d4;background-color:#1e1e1e;font-family:Consolas, =
'Courier New', monospace;font-weight:normal;font-size:14px;line-height:19px=
">
<span><span style=3D"color:#57a64a">///@startuml{engine=3Djson}</span></spa=
n>
<div><span style=3D"color:#57a64a">///{</span></div>
<div><span style=3D"color:#57a64a">/// "firstName": "J=
ohn",</span></div>
<div><span style=3D"color:#57a64a">/// "lastName": "Sm=
ith",</span></div>
<div><span style=3D"color:#57a64a">/// "isAlive": true,</sp=
an></div>
<div><span style=3D"color:#57a64a">/// "age": 27,</span></d=
iv>
<div><span style=3D"color:#57a64a">/// "address": {</span><=
/div>
<div><span style=3D"color:#57a64a">/// "streetAddress&quo=
t;: "21 2nd Street",</span></div>
<div><span style=3D"color:#57a64a">/// "city": "=
;New York",</span></div>
<div><span style=3D"color:#57a64a">/// "state": &quo=
t;NY",</span></div>
<div><span style=3D"color:#57a64a">/// "postalCode":=
"10021-3100"</span></div>
<div><span style=3D"color:#57a64a">/// },</span></div>
<div><span style=3D"color:#57a64a">/// "phoneNumbers": [</s=
pan></div>
<div><span style=3D"color:#57a64a">/// {</span></div>
<div><span style=3D"color:#57a64a">/// "type"=
: "home",</span></div>
<div><span style=3D"color:#57a64a">/// "number&quo=
t;: "212 555-1234"</span></div>
<div><span style=3D"color:#57a64a">/// },</span></div>
<div><span style=3D"color:#57a64a">/// {</span></div>
<div><span style=3D"color:#57a64a">/// "type"=
: "office",</span></div>
<div><span style=3D"color:#57a64a">/// "number&quo=
t;: "646 555-4567"</span></div>
<div><span style=3D"color:#57a64a">/// }</span></div>
<div><span style=3D"color:#57a64a">/// ],</span></div>
<div><span style=3D"color:#57a64a">/// "children": [],</spa=
n></div>
<div><span style=3D"color:#57a64a">/// "spouse": null</span=
></div>
<div><span style=3D"color:#57a64a">///}</span></div>
<span><span style=3D"color:#57a64a">///</span><span style=3D"color:#569cd6"=
>@enduml</span></span></div>
<br>
<br>
I've altered the startuml syntax as follows<br>
@startjson<br>
@startuml{json}<br>
<br>
I get either a syntax error from doxygen when it runs plantUML or I get the=
json text flat in the documentation.<br>
<br>
Any Ideas<br>
<br>
Thanks<br>
Tobi<br>
<br>
<br>
</div>
</body>
</html>
--_000_GV1P193MB221564B5382BBD7EB0594647C7B39GV1P193MB2215EURP_--
--===============0963331893913957370==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============0963331893913957370==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
--===============0963331893913957370==--