Add an :url property #27
Replies: 1 comment 6 replies
-
Sorry Tobias, I missed this question until now. Currently, I'm modelling the different URLs with different properties namespaced with the company (e.g. :xyz/info-url, :xyz/repository-url) and use them in the documentation templates to generate markdown links. So I currently don't generate links with PlantUML but in the template-generated documentation. A possible solution for the generation of URLs with PlantUML would be to have a :link property which takes a string with a URL or a keyword for the lookup of the URL in the element. This link property could be specified on a :ref in a view to handle the view specific rendering of the link. |
Beta Was this translation helpful? Give feedback.
-
I propose to add an :url property to overarch elements. This could be used for instance in plantuml output rendered as svg to include links to further documentation. Right now it is possible to achieve the desired result by including a formatted :name property like this:
While this works it couples the data to the output format while a specific property could be used (maybe in combination with custom templates) to automatically generate the proper format in the plantuml target. The example above could look like this within the edn model:
Beta Was this translation helpful? Give feedback.
All reactions