ADDED:
* Much more functions to tplx/sprigx
This commit is contained in:
brent saner committed 2026-01-29 19:02:21 -05:00
1 parent 64a7648fbc
commit 1bd6e1256c
18 files changed
+3036 -1489

No files matched your search

+11 -2
View File
@@ -22,9 +22,18 @@ for f in $(find . -type f -iname "README.adoc"); do
if command -v pandoc &> /dev/null;
then
newf="${pfx}.md"
set +e
asciidoctor -a ROOTDIR="${orig}/" -b docbook -o - "${f}" | pandoc -f docbook -t markdown_strict -o "${newf}"
echo "Generated ${newf} from ${f}"
git add "${newf}"
if [ $? -eq 0 ];
then
echo "Generated ${newf} from ${f}"
git add "${newf}"
else
echo "Failed to generate ${newf} from ${f}"
git rm "${newf}"
fi
set -e
fi
cd ${orig}
done