Skip to content

Commit

Permalink
Representation element filtering, interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvlasov committed Jan 11, 2025
1 parent 3437631 commit f59eab6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 2 additions & 0 deletions bob.md
Original file line number Diff line number Diff line change
@@ -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}
3 changes: 3 additions & 0 deletions page-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ bootstrap.Page:
gtag('config', 'G-9BRJVLK8CC');
</script>
<!-- ${search-config} -->
body:
app.Page:
fluid: false
Expand Down

0 comments on commit f59eab6

Please sign in to comment.