7e9ec699b6d233213aca70776b2e89a0cc02f976 max Wed Nov 29 13:41:32 2023 -0800 first test of a markdown based docs directory, no redmine yet diff --git docs/makefile docs/makefile new file mode 100644 index 0000000..305d594 --- /dev/null +++ docs/makefile @@ -0,0 +1,18 @@ +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 + chmod a+x ${destDir}/docs/index.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}/"