mirror of
https://github.com/nzp-team/documentation.git
synced 2024-11-21 19:41:05 +00:00
6 lines
No EOL
337 B
Bash
Executable file
6 lines
No EOL
337 B
Bash
Executable file
#!/bin/bash
|
|
rm -rf build/
|
|
mkdir -p build/{res,landing,mapping,internal}
|
|
cp -r markdown/res build/
|
|
mkdir -p build/ && cd markdown/
|
|
find . -iname "*.md" -type f -exec sh -c 'pandoc --standalone --toc --template ../template/template.html --from=markdown --to=html5 --lua-filter=../links-to-html.lua -o "../build/${0%.md}.html" "${0}"' {} \; |