update for newer pandoc

"smart" extension is no longer supported for docbook
This commit is contained in:
John Cupitt 2021-03-06 12:47:31 +00:00
parent 81dffdd571
commit 94503c1aca

View File

@ -127,7 +127,7 @@ HTML_IMAGES = \
# we have some files in markdown ... convert to docbook for gtk-doc
# pandoc makes section headers, we want refsect3 for gtk-doc
.md.xml:
pandoc -s --template="$(realpath pandoc-docbook-template.docbook)" --wrap=none -V title="$<" -f markdown+smart -t docbook-smart -o $@ $<
pandoc -s --template="$(realpath pandoc-docbook-template.docbook)" --wrap=none -V title="$<" -f markdown+smart -t docbook -o $@ $<
sed -e s/section/refsect3/g < $@ > x && mv x $@
# Our markdown source files