Skip to content

Commit

Permalink
Added examples of diagrams with includes causing build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Nov 1, 2024
1 parent efa87db commit 38c4f11
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/fixture/docbook/diagram-with-include.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@startuml dummy_filename
!include external-diagram.puml
!include_many subdir2/includes.puml
Bob<-Alice : hello2
Bob->Alice : $someReference
@enduml
4 changes: 4 additions & 0 deletions test/fixture/docbook/subdir/another.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ Here are some images:

![jpg from the current path](smile2.jpg)
![jpg from the parent path](../smile.jpg)

## PlantUML diagram with a relative include

![An external PlantUML diagram with a relative include](./diagram-with-relative-include.puml)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@startuml dummy_filename
!include_many ../subdir2/includes.puml
Bob->Alice : $someReference
@enduml
3 changes: 3 additions & 0 deletions test/fixture/docbook/subdir2/includes.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@startuml
!$someReference = "Hello World"
@enduml
4 changes: 4 additions & 0 deletions test/fixture/docbook/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,7 @@ This is an image that's over 500kb so we can be sure that bigger images work:
## Inline PUML file

![An external PlantUML diagram](./external-diagram.puml)

### Inline PUML with includes

![An external PlantUML diagram with includes](./diagram-with-include.puml)

0 comments on commit 38c4f11

Please sign in to comment.