V8.03.139.2025.06.02

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-06-02 09:39:21 +02:00
parent a86bac8963
commit 1b955288ce
25 changed files with 21 additions and 4945 deletions

View File

@@ -104,32 +104,32 @@ jobs:
sudo apt-get update
sudo apt-get install -y pandoc
- name: Ensure .html/ directory exists.
shell: bash
run:
mkdir -p .html
#- name: Ensure .html/ directory exists.
# shell: bash
# run:
# mkdir -p .html
- name: Render *.md to full standalone HTML.
shell: bash
run: |
find . \( -path "*/.*" -prune \) -o -type f -name "*.md" -print | while read file; do
out=$(basename "${file%.md}.html")
pandoc -s "${file}" \
--metadata title="${file}" \
--metadata lang=en \
-f gfm+footnotes \
-t html5 \
--no-highlight \
--strip-comments \
--wrap=none \
--lua-filter=.gitea/properties/lua/linkfix.lua \
-o .html/"${out}"
done
#- name: Render *.md to full standalone HTML.
# shell: bash
# run: |
# find . \( -path "*/.*" -prune \) -o -type f -name "*.md" -print | while read file; do
# out=$(basename "${file%.md}.html")
# pandoc -s "${file}" \
# --metadata title="${file}" \
# --metadata lang=en \
# -f gfm+footnotes \
# -t html5 \
# --no-highlight \
# --strip-comments \
# --wrap=none \
# --lua-filter=.gitea/properties/lua/linkfix.lua \
# -o .html/"${out}"
# done
- name: Extract HTML fragment for Gitea for *.md.
shell: bash
run: |
find . \( -path "*/.*" -prune \) -o -type f -name "*.md" -print | while read file; do
find . \( -path "*/.*" -prune \) -o -type f -name "README.md" -print | while read file; do
out="${file%.md}.html"
pandoc "${file}" \
-f gfm+footnotes \