blob: 539a148b9aa2a9319f5f18f75a8ac95d97852d48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
script_path=`dirname $0`
repo_root="${script_path}/.."
jsdoc_home="${repo_root}/tools/jsdoc-toolkit"
jsrun_jar="${jsdoc_home}/jsrun.jar"
runjs="${jsdoc_home}/app/run.js"
template="${jsdoc_home}/templates/fiveui"
target="${repo_root}/doc/jsdoc"
pandoc ${template}/static/preludeIntro.md -o ${template}/static/preludeIntro.html
pandoc ${template}/static/preludeIntro.md \
-o ${template}/static/preludeIntro.css \
--highlight-style=kate \
--template=${script_path}/jsdoc.css
java -jar ${jsrun_jar} ${runjs} -a --template="${template}" -d="${target}" $@
# copy the some of the content of the 'static' template directory into the destination:
cp -rv ${template}/static/images/ "${target}/images"
|