Skip to content

Commit

Permalink
Deployed e0ae78c with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Sep 19, 2024
0 parents commit b335586
Show file tree
Hide file tree
Showing 174 changed files with 304,282 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
3,001 changes: 3,001 additions & 0 deletions 404.html

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions DPL-CMS/Taskfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
version: "3"

vars:
PLANTUML_RENDERER_VERSION: 1.2021.5
DRAWIO_EXPORT_VERSION: 4.1.0

tasks:
_mkdir:
cmds:
- mkdir -p diagrams/render-png
- mkdir -p diagrams/render-svg

clean:
desc: Delete all rendered diagrams
cmds:
- rm -fr diagrams/render-png
- rm -fr diagrams/render-svg

render:
desc: Render all diagrams
cmds:
- task: render:plantuml
- task: render:drawio

build:plantuml:
desc: Build the container image we use for rendering plantuml
dir: ../tools/plantuml
cmds:
# We do not publish the image as it is very then wrapper around a download
# of platuml an as such having a published image would just be an extra
# thing to keep track of.
- IMAGE_URL=plantuml TAG=0.0.0 PLANTUML_VERSION={{.PLANTUML_RENDERER_VERSION}} task build

render:plantuml:
desc: Render svg and png versions plantuml diagrams
deps: [_mkdir, build:plantuml]
cmds:
# PDF is currently not supported: https://plantuml.com/pdf
- |
docker run \
-v "${PWD}/diagrams/:/checkout" \
-w "/checkout" \
plantuml:0.0.0 \
-verbose -tpng -o render-png *.puml
- |
docker run \
-v "${PWD}/diagrams/:/checkout" \
-w "/checkout" \
plantuml:0.0.0 \
-verbose -tsvg -o render-svg *.puml
render:drawio:
desc: Render svg and png versions drawio diagrams
deps: [_mkdir]
cmds:
- |
docker run \
-v "${PWD}/diagrams:/data" rlespinasse/drawio-export:{{.DRAWIO_EXPORT_VERSION}} --remove-page-suffix --format png --output render-png --scale 2
- |
docker run \
-v "${PWD}/diagrams:/data" rlespinasse/drawio-export:{{.DRAWIO_EXPORT_VERSION}} --remove-page-suffix --format svg --output render-svg --scale 2
Loading

0 comments on commit b335586

Please sign in to comment.