Skip to content

Commit f485fc3

Browse files
committed
Add stub Archimate.puml at original location; update README.md to describe how to reference the version from this repo
1 parent 16e3c14 commit f485fc3

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Archimate.puml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
' NOTE: This file location is deprecated, please reference the file from its new location.
2+
' New location, relative to this file: ./dist/plantuml-stdlib/stdlib/archimate/Archimate.puml
3+
4+
!include https://raw.githubusercontent.com/plantuml-stdlib/Archimate-PlantUML/master/dist/plantuml-stdlib/stdlib/archimate/Archimate.puml

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ Include the `Archimate.puml` file in your `.puml` or `.wsd` file. There are mult
5151

5252
### Using a version available on the internet
5353

54-
You will need to download the version (`Archimate.puml` file plus the `./themes/` folder that goes with it) and store them
55-
some place locally. Then reference them like this:
54+
You will need to:
55+
1. download the version, including the themes folder and store them some place locally
56+
* `./dist/plantuml/plantuml-stdlib/stdlib/archimate/Archimate.puml`
57+
* `./dist/plantuml/plantuml-stdlib/stdlib/archimate/themes/` folder plus files
58+
2. Add a `!global $ARCH_LOCAL = true` to your PlantUML file prior to the include statement
5659

5760
```plantuml
5861
@@ -69,7 +72,7 @@ some place locally. Then reference them like this:
6972
!endif
7073
```
7174

72-
_Note: using `!includeurl` on a `https://raw.githubusercontent.com/plantuml-stdlib/Archimate-PlantUML/master/Archimate.puml` **may** not work, because that file by default relies on the built-in themes, and the latest version on `master` can expect different theme settings._
75+
_Note: using `!include` on `https://raw.githubusercontent.com/plantuml-stdlib/Archimate-PlantUML/master/dist/plantuml-stdlib/stdlib/archimate/Archimate.puml` **may** not work, because that file by default relies on the built-in themes, which may not be compatible with the latest version of `Archimate.puml` on `master`._
7376

7477
## Usage
7578
After you have included `Archimate.puml` you can use the defined macros for ArchiMate elements.

0 commit comments

Comments
 (0)