You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
993 B
Plaintext
30 lines
993 B
Plaintext
@startuml
|
|
|
|
' please defined $ThemeToBeChecked before the file is included (sample see TestThemeC4_FirstTest.puml)
|
|
' [At]startuml
|
|
' !$UseTheme=C4_FirstTest
|
|
' !if %variable_exists("RELATIVE_INCLUDE")
|
|
' !include ./TestThemeTemplate.puml
|
|
' !else
|
|
' !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.12.0/percy/TestThemeTemplate.puml
|
|
' !endif
|
|
' [At]enduml
|
|
|
|
!$UseTheme?="C4_FirstTest"
|
|
|
|
' convert it with additional command line argument -DRELATIVE_INCLUDE="./.." to use locally
|
|
!if %variable_exists("RELATIVE_INCLUDE")
|
|
' !theme C4_FirstTest from %get_variable_value("RELATIVE_INCLUDE")/themes
|
|
!theme $UseTheme from ./../themes
|
|
!else
|
|
!theme $UseTheme from https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.12.0/themes
|
|
!endif
|
|
|
|
!if %variable_exists("RELATIVE_INCLUDE")
|
|
!include ./TestAllElementsWithLegend.puml
|
|
!else
|
|
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/v2.12.0/percy/TestAllElementsWithLegend.puml
|
|
!endif
|
|
|
|
@enduml
|