mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 18:36:14 -04:00
Replace JSDoc-Toolkit with doc.md
This commit is contained in:
parent
b38b755c68
commit
7024f3e78a
130 changed files with 658 additions and 14913 deletions
|
@ -1,20 +1,17 @@
|
|||
#!/bin/sh
|
||||
if [ ! -x /usr/bin/java ]; then
|
||||
echo "You need to install Java to generate the JSDocs!"
|
||||
exit 1
|
||||
fi
|
||||
#!/bin/bash
|
||||
|
||||
if [ -d "../bin" ]; then
|
||||
cd "../"
|
||||
fi
|
||||
|
||||
cd "doc/jsdoc-toolkit"
|
||||
type -P node &>/dev/null || {
|
||||
echo "You need to install node!" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
JSRUN="jsrun.jar"
|
||||
RUNJS="app/run.js"
|
||||
OUTPUT_DIR="../jsdoc"
|
||||
NODE_DIR="../../node"
|
||||
TEMPLATE_DIR="templates/jsdoc"
|
||||
type -P doc.md &>/dev/null || {
|
||||
echo "You need to install doc.md! npm install -g doc.md" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
java -jar $JSRUN $RUNJS -v -d=$OUTPUT_DIR -t=$TEMPLATE_DIR $NODE_DIR &&
|
||||
echo "Look on http://code.google.com/p/jsdoc-toolkit/wiki/InlineDocs to get Tipps for better documentation"
|
||||
doc.md node doc/jsdoc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue