9c4464a8b6f85855c9e758f04f0b811403efb64f lrnassar Thu Sep 19 16:00:34 2024 -0700 Adding a new --filter to the pandoc run linking to a file with special cases we want handled by the conversion. This first case takes an image code block and converts it to an html image tag with source and width specified. Refs #30335 diff --git docs/makefile docs/makefile index d018093..5f9ef16 100644 --- docs/makefile +++ docs/makefile @@ -1,22 +1,22 @@ kentSrc = .. include ../src/inc/common.mk GIT = git GITUP = ${GIT} pull user: ${MAKE} doInstall destDir=${DOCUMENTROOT}-${USER} doInstall: mkdir -p ${destDir}/docs/ - pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/index.html index.md --template staticPage.html -t staticPage.lua - pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/gb101.html gb101.md --template staticPage.html -t staticPage.lua - pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/page_template.html page_template.md --template staticPage.html -t staticPage.lua + pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/index.html index.md --template staticPage.html -t staticPage.lua --lua-filter GBpandocHTMLrules.lua + pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/gb101.html gb101.md --template staticPage.html -t staticPage.lua --lua-filter GBpandocHTMLrules.lua + pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/page_template.html page_template.md --template staticPage.html -t staticPage.lua --lua-filter GBpandocHTMLrules.lua chmod a+x ${destDir}/docs/index.html chmod a+x ${destDir}/docs/gb101.html chmod a+x ${destDir}/docs/page_template.html testPandoc: @printf "Test the following path and commands look ok\n" @printf "pandoc path: %s\n" "`which pandoc`" @printf "pandoc --ascii -f markdown-smart -t html5 index.md --template staticPage.html -t staticPage.lua\n" "${DOCUMENTROOT}/"