Skip to content

Commit

Permalink
fix(library): icons are not loaded when using remote loader
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Sep 30, 2024
1 parent c6a587f commit 15a3872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmd/library/generate/templates/library_bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub const TEMPLATE: &str = r##"{%- block header %}{% endblock header %}
!endif
!if (%not(%variable_exists("$IMAGE_BASE_PATH"))) && (%variable_exists("$LIB_BASE_LOCATION"))
!global $IMAGE_BASE_PATH=$LIB_BASE_LOCATION + "/"
!global $IMAGE_BASE_PATH=$LIB_BASE_LOCATION
!endif
' constants
Expand Down
4 changes: 2 additions & 2 deletions src/cmd/library/generate/templates/library_documentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ include('aws-20200911/bootstrap')
```plantuml
@startuml level1-system
!include ../../../ref/c4.puml
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION + "/"
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION
!global $LIB_BASE_LOCATION="../../" + $LIB_BASE_LOCATION
' description of the diagram below
' .....
Expand All @@ -88,7 +88,7 @@ include('aws-20200911/bootstrap')
```plantuml
@startuml infrastructure-production
!include ../../../ref/aws.puml
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION + "/"
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION
!global $LIB_BASE_LOCATION="../../" + $LIB_BASE_LOCATION
' description of the diagram below
' .....
Expand Down

0 comments on commit 15a3872

Please sign in to comment.