try quote button js
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 11s
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 11s
This commit is contained in:
13
.github/workflows/release-docs.yml
vendored
13
.github/workflows/release-docs.yml
vendored
@@ -24,6 +24,18 @@ jobs:
|
||||
sudo apt-get install -y pandoc \
|
||||
jq \
|
||||
curl
|
||||
- name: Build pandoc after-body include (inline quote.js)
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p build
|
||||
{
|
||||
echo '<script>'
|
||||
cat quote.js
|
||||
echo '</script>'
|
||||
echo '<style>'
|
||||
echo '.quote-btn{margin-left:.5rem;font-size:.8em;vertical-align:middle;}'
|
||||
echo '</style>'
|
||||
} > build/after-body.html
|
||||
|
||||
- name: Build artifacts
|
||||
run: |
|
||||
@@ -41,6 +53,7 @@ jobs:
|
||||
--metadata-file src/metadata.yml \
|
||||
--embed-resources \
|
||||
--metadata title="CMBA ${doc}" \
|
||||
--include-after-body=build/after-body.html \
|
||||
--css src/style.css \
|
||||
-o "dist/${doc}.html"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user