Skip to content
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

Added examples of diagrams with includes causing build failures #387

Draft
wants to merge 1 commit into
base: 1.17.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading