Skip to content

Commit 6c03e7b

Browse files
authored
Merge pull request #67 from dont-code/workflow
features: pandoc v3
2 parents bd00b2e + a584851 commit 6c03e7b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/doc-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
node-version: 24
2727
- name: Install pandoc
28-
run: sudo apt-get update && sudo apt-get install -y pandoc
28+
uses: pandoc/actions/setup@v1
2929
- name: Install monorepo dependencies
3030
run: |
3131
npm install -g pnpm@latest

docs/generate-typedoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mkdir -p "$GUIDES_OUT"
3434

3535
cp "$SCRIPT_DIR/pandoc_theme.css" "$GUIDES_OUT/theme.css"
3636

37-
PANDOC_OPTS="-f markdown -t html --file-scope=true --standalone --syntax-highlighting=zenburn --css=theme.css"
37+
PANDOC_OPTS="-f markdown -t html --file-scope --standalone --syntax-highlighting=zenburn --css=theme.css"
3838

3939
MATOMO="$SCRIPT_DIR/matomo-script.html"
4040
MATOMO_OPTS=""

docs/generate-website.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ mkdir --parents dist/ng-xtend-website/docs/
44
mkdir --parents dist/ng-xtend-website/apps/xt-plugin-tester
55
mkdir --parents dist/ng-xtend-website/apps/xt-host
66
mkdir --parents dist/ng-xtend-website/libs
7-
pandoc -f markdown -t html --file-scope=true --standalone --syntax-highlighting=zenburn --metadata title-meta="ng-xtend framework" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend" -H docs/matomo-script.html -o dist/ng-xtend-website/index.html README.md
8-
pandoc -f markdown -t html --file-scope=true --standalone --highlight-style=zenburn --metadata title-meta="ng-xtend libraries" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - libraries" -H docs/matomo-script.html -o dist/ng-xtend-website/libs/index.html docs/libraries.md
9-
pandoc -f markdown -t html --file-scope=true --standalone --highlight-style=zenburn --metadata title-meta="ng-xtend plugin tester" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - plugin tester" -H docs/matomo-script.html -o dist/ng-xtend-website/apps/xt-plugin-tester/index.html apps/xt-plugin-tester/README.md
10-
pandoc -f markdown -t html --file-scope=true --standalone --highlight-style=zenburn --metadata title-meta="ng-xtend host" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - Host application" -H docs/matomo-script.html -o dist/ng-xtend-website/apps/xt-host/index.html apps/xt-host/README.md
7+
pandoc -f markdown -t html --file-scope --standalone --syntax-highlighting=zenburn --metadata title-meta="ng-xtend framework" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend" -H docs/matomo-script.html -o dist/ng-xtend-website/index.html README.md
8+
pandoc -f markdown -t html --file-scope --standalone --syntax-highlighting=zenburn --metadata title-meta="ng-xtend libraries" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - libraries" -H docs/matomo-script.html -o dist/ng-xtend-website/libs/index.html docs/libraries.md
9+
pandoc -f markdown -t html --file-scope --standalone --syntax-highlighting=zenburn --metadata title-meta="ng-xtend plugin tester" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - plugin tester" -H docs/matomo-script.html -o dist/ng-xtend-website/apps/xt-plugin-tester/index.html apps/xt-plugin-tester/README.md
10+
pandoc -f markdown -t html --file-scope --standalone --syntax-highlighting=zenburn --metadata title-meta="ng-xtend host" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - Host application" -H docs/matomo-script.html -o dist/ng-xtend-website/apps/xt-host/index.html apps/xt-host/README.md
1111
cd docs
1212
cp ng-xtend-website/index.html ../dist/ng-xtend-website/
1313
cp -r logos ../dist/ng-xtend-website/docs

0 commit comments

Comments
 (0)