Skip to content

Commit aecc1e6

Browse files
committed
ci: run asciidoctor on adoc demos
1 parent c4a7fa6 commit aecc1e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,13 @@ jobs:
697697
# mrdocs documenting mrdocs demo
698698
mrdocs --config="$(pwd)/docs/mrdocs.yml" "$(pwd)/CMakeLists.txt" --output="$(pwd)/demos/mrdocs/$variant/$generator" --multipage=$multipage --generator="$generator" --log-level=debug
699699
done
700+
# Render the asciidoc files to html using asciidoctor
701+
if [[ ${{ runner.os }} == 'Linux' ]]; then
702+
for project in boost-url mrdocs; do
703+
mkdir -p "$(pwd)/demos/$project/$variant/adoc-asciidoc"
704+
asciidoctor -D "$(pwd)/demos/$project/$variant/adoc-asciidoc" "$(pwd)/demos/$project/$variant/adoc/*.adoc"
705+
done
706+
fi
700707
done
701708
702709
# Compress demos for the artifact

0 commit comments

Comments
 (0)