-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The include section of all "percy" diagrams looks wrong #93
Comments
They seem to be in the wrong order. I have no idea how percy does the includes, maybe @IOrlandoni has an opinion. I know that including diagrams locally is a bit different than including a URL. |
@IOrlandoni, @adrianvlupu: based on the "false failure" build error in #107 PR I rechecked the current used include pattern in the test files. Independent of the error the additional include files can change the generated output file.
with additional includes no counting anymore
Therefore I think it is a better approach to add a switch in the C4_* files which loads the included files via url or local. And via an additional command line defintion it can be switched to the local version (if it is not already part of the "master" puml itself). This approach could be used independent of the test context too e.g. C4_Dynamic.puml
e.g. "percy\C4_Dynamic Diagram Sample - bigbankplc.puml"
local versions can be activated via
b) or via command line
|
…line argument -DRELATIVE_INCLUDE="." Update github workflow that local files are used
…line argument -DRELATIVE_INCLUDE="." (2 - fix !if)
…line argument -DRELATIVE_INCLUDE="." Update github workflow that local files are used
all "percy" diagramms has a include section like
This looks wrong for me.
C4_Container.puml
includesC4_Context.puml
already, why is it repeated?C4_Dynamic.puml
and "last"C4.puml
, then the automatic indexing is overwritten.I think "percy" should include only the "first"
*.puml
and skip all following includesBR Helmut
The text was updated successfully, but these errors were encountered: