From f59eab6f3214b22d1ede9b2de9aedad7bc83594f Mon Sep 17 00:00:00 2001 From: Pavel Vlasov Date: Sat, 11 Jan 2025 13:06:53 -0500 Subject: [PATCH] Representation element filtering, interpolation. --- .github/workflows/site.yml | 4 ++-- README.md | 2 ++ bob.md | 2 ++ page-template.yml | 3 +++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 2acb5d1..be55c1d 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -30,7 +30,7 @@ jobs: java-version: '17' distribution: 'temurin' - name: Download Nasdanika CLI - run: wget https://github.com/Nasdanika/cli/releases/download/maven-2024.12.0/nsd-cli.zip + run: wget https://github.com/Nasdanika/cli/releases/download/maven-2025.1.0/nsd-cli.zip - name: Unzip Nasdanika CLI run: unzip nsd-cli.zip - name: Setup Graphviz @@ -39,7 +39,7 @@ jobs: working-directory: nsd-cli run: | chmod u+x nsd - ./nsd drawio ../diagram.drawio html-app -r ../root-action.yml --add-to-root site -r=-1 -F ../page-template.yml ../docs + ./nsd drawio ../diagram.drawio html-app -F bob-decorator.groovy -r ../root-action.yml --add-to-root site -r=-1 -F ../page-template.yml ../docs ls ../docs - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/README.md b/README.md index 58c09b1..3167f9d 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ We solve problems and get things done with a positive attitude! Request a quote today!!! This web site was created from [Nasdanika Drawio Site Template Repository](https://github.com/Nasdanika-Templates/drawio-site) as shown in this [video](https://www.youtube.com/watch?v=OtifPFetg9o) + +This demo shows how to use documentation interpolation and representation element filtering. diff --git a/bob.md b/bob.md index 518fca6..08deaab 100644 --- a/bob.md +++ b/bob.md @@ -1,3 +1,5 @@ Bob owns the company. He has a cat Pilchard and an office assistant Wendy. Bob is good at building things, but he is not good with computers, so Wendy takes care of the IT. + +Interpolation demo: ${label} \ No newline at end of file diff --git a/page-template.yml b/page-template.yml index c5b71f2..326b741 100644 --- a/page-template.yml +++ b/page-template.yml @@ -32,6 +32,9 @@ bootstrap.Page: gtag('config', 'G-9BRJVLK8CC'); + + + body: app.Page: fluid: false