From b785af096b363a5c56422ae7768ed544dc9fe4bd Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 8 Nov 2022 09:17:20 +0200 Subject: fix: format_subplots should use .subplot files, not .md We don't use .md as the root of a subplot anymore in Subplot. Sponsored-by: author --- ci-prod.ick | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/ci-prod.ick b/ci-prod.ick index 794615d..bd49c4c 100644 --- a/ci-prod.ick +++ b/ci-prod.ick @@ -846,6 +846,21 @@ projects: - dsilvers@digital-scurf.org pipelines: *deb_ci_rustup_with_check_pipelines + - project: subplot-user-guide + parameters: + <<: *dummy_program_params + sources: + - name: code + repo: git://git.liw.fi/subplot + ref: main + location: src + workspace_name: subplot-user-guide + rsync_target: ickliwfi@http.liw.fi:/srv/http/doc.subplot.tech + notify: + - liw@liw.fi +# - dsilvers@digital-scurf.org + pipelines: *deb_ci_rustup_with_check_pipelines + - project: obnam parameters: <<: *dummy_program_params @@ -1243,17 +1258,17 @@ pipelines: opts="--resources $(pwd)/src/share" output=/workspace/publish - find src -name "*.md" | + find src -name "*.subplot" | grep -Fv .gitlab/ | while read file do - base="$(basename "$file" .md)" + base="$(basename "$file" .subplot)" ( cd "$(dirname "$file")" - if subplot $opts metadata "$base.md" | awk '/^title:/ && NF > 1' | grep . + if subplot $opts metadata "$base.subplot | awk '/^title:/ && NF > 1' | grep . then - subplot $opts docgen "$base.md" -o "$output/$base.html" - subplot $opts docgen "$base.md" -o "$output/$base.pdf" + subplot $opts docgen "$base.subplot -o "$output/$base.html" + subplot $opts docgen "$base.subplot -o "$output/$base.pdf" fi ) done -- cgit v1.2.1