-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add test function for correct link and source structure Issue: #3 * Introduce liquid link tag where appropriate Issue: #3 * Fix PlantUML version information Issue: #3 * Extend README to describe more extension points Issue: #3 * Fix name in the main navigation but use "Standard Libraries" everywhere else Issue: #3 * Add missing direct access from home page Issue: #3 * Use Jekyll's own tags for highlighting Issue: #3 * Fix indentation in generated site Issue: #3 * Fix merge mistake Issue: #3
- Loading branch information
Showing
14 changed files
with
110 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,30 @@ | ||
# Welcome to PlantUML themes Gallery | ||
|
||
Here are the scripts to make an autogenerated PlantUML themes Gallery. | ||
These are the scripts and Jekyll data collections used to autogenerate the PlantUML Themes Gallery. | ||
|
||
New themes [could be pushed here](https://github.com/plantuml/plantuml/tree/master/themes). | ||
If you want to add a new theme to the gallery, | ||
go to [PlantUML "official" themes](https://github.com/plantuml/plantuml/tree/master/themes) and add it there. | ||
After that, add a new document to the [local themes collection directory](/collections/_themes) describing your theme. | ||
For now, only the themes directly packaged with PlantUML are supported. | ||
|
||
And the sources of the [PlantUML themes Gallery](https://the-lum.github.io/puml-themes-gallery/) | ||
For adding a new skin to the gallery, | ||
the steps are nearly the same | ||
but replace `theme` with `skin` e.g. go to[PlantUML skins](https://github.com/plantuml/plantuml/tree/master/skin) | ||
and add a new document to the [local skins collection directory](/collections/_skins). | ||
|
||
If instead you want to add a new diagram type, you will only need to add local files. | ||
First, add a diagram description PUML file to the [local diagrams input directory](/collections/_diagrams/input). | ||
And second, add a corresponding document to the [local diagrams collection directory](/collections/_diagrams). | ||
|
||
Adding another [PlantUML Standard Library](https://github.com/plantuml/plantuml-stdlib) based diagram requires the same steps | ||
as adding a new diagram. | ||
But again replace `diagram` with `stdlib` | ||
and add the new files inside the [local stdlibs collection directory](/collections/_stdlibs). | ||
|
||
|
||
> :information_source: When adding a new collection document to any of the collections above, | ||
always follow the structure of other documents already present in that collection. | ||
When adding new PUML diagram descriptions don't add any `!theme` or `skin` declarations yourself | ||
as those will be added automatically. | ||
|
||
All the sources of the [PlantUML themes Gallery](https://the-lum.github.io/puml-themes-gallery/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- **PlantUML version:** 1.2024.8beta7 (Unknown compile time) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p lib | ||
#rm lib/plantuml.jar | ||
#curl -L https://sourceforge.net/projects/plantuml/files/plantuml.jar/download -o lib/plantuml.jar | ||
|
||
tag=$(curl -s https://api.github.com/repos/plantuml/plantuml/releases/latest | jq -r '.tag_name') | ||
echo -n $tag > lib/plantuml-tag.md | ||
curl "https://github.com/plantuml/plantuml/releases/download/${tag}/plantuml-${tag#v}.jar" -L -o lib/plantuml.jar | ||
|
||
#java -jar lib/plantuml.jar -version > lib/README.md | ||
java -jar lib/plantuml.jar -version | grep -e 'PlantUML version' -e 'Dot version:' | sed -E 's/([^:]+)version:?(.+)/- **\1version:**\2/' > lib/plantuml-versions.md | ||
echo "::notice title=PlantUML version:: $(head -n 1 lib/plantuml-versions.md)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters