Skip to content

Commit 15a3872

Browse files
committed
fix(library): icons are not loaded when using remote loader
1 parent c6a587f commit 15a3872

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/cmd/library/generate/templates/library_bootstrap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub const TEMPLATE: &str = r##"{%- block header %}{% endblock header %}
1717
!endif
1818
1919
!if (%not(%variable_exists("$IMAGE_BASE_PATH"))) && (%variable_exists("$LIB_BASE_LOCATION"))
20-
!global $IMAGE_BASE_PATH=$LIB_BASE_LOCATION + "/"
20+
!global $IMAGE_BASE_PATH=$LIB_BASE_LOCATION
2121
!endif
2222
2323
' constants

src/cmd/library/generate/templates/library_documentation.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ include('aws-20200911/bootstrap')
7777
```plantuml
7878
@startuml level1-system
7979
!include ../../../ref/c4.puml
80-
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION + "/"
80+
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION
8181
!global $LIB_BASE_LOCATION="../../" + $LIB_BASE_LOCATION
8282
' description of the diagram below
8383
' .....
@@ -88,7 +88,7 @@ include('aws-20200911/bootstrap')
8888
```plantuml
8989
@startuml infrastructure-production
9090
!include ../../../ref/aws.puml
91-
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION + "/"
91+
!global $IMAGE_BASE_PATH="../../" + $LIB_BASE_LOCATION
9292
!global $LIB_BASE_LOCATION="../../" + $LIB_BASE_LOCATION
9393
' description of the diagram below
9494
' .....

0 commit comments

Comments
 (0)