d48e737310b50372263fd683a2195fbaac6e0463 max Wed May 14 09:01:22 2025 -0700 adding alpha and beta targets for markdown makefile, refs #30335 diff --git docs/makefile docs/makefile index 889398f1dab..9a44302a2ae 100644 --- docs/makefile +++ docs/makefile @@ -1,24 +1,30 @@ kentSrc = .. include ../src/inc/common.mk GIT = git GITUP = ${GIT} pull user: ${MAKE} doInstall destDir=${DOCUMENTROOT}-${USER} +alpha: + ${MAKE} doInstall destDir=${DOCUMENTROOT} + +beta: + ${MAKE} doInstall destDir=${DOCUMENTROOT}-beta + 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 --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 pandoc --ascii -f markdown-smart -t html5 -o ${destDir}/docs/gatewayTutorial.html gatewayTutorial.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 chmod a+x ${destDir}/docs/gatewayTutorial.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}/"