-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgenerateAPIDocs.sh
More file actions
executable file
·28 lines (21 loc) · 979 Bytes
/
generateAPIDocs.sh
File metadata and controls
executable file
·28 lines (21 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
RESOLVELINKS="./xmlman/resolveLinks"
if [ ! -x "$RESOLVELINKS" ] ; then
RESOLVELINKS="/usr/bin/resolveLinks"
fi
rm -rf Documentation/hdapi
./headerDoc2HTML.pl -H -O -j -Q -n -p -o Documentation/hdapi Documentation/HeaderDoc.hdoc
if [ -d headerdoc_tp ] ; then
./headerDoc2HTML.pl -H -O -j -Q -n -p -o Documentation/hdapi headerwalk.pl headerDoc2HTML.pl gatherHeaderDoc.pl headerdoc_tp/*.pl headerdoc_tp/tp_webkit_tools/filtermacros.pl Modules/HeaderDoc/*.pm xmlman/*.c xmlman/*.h
else
./headerDoc2HTML.pl -H -O -j -Q -n -p -o Documentation/hdapi headerwalk.pl headerDoc2HTML.pl gatherHeaderDoc.pl Modules/HeaderDoc/*.pm xmlman/*.c xmlman/*.h
fi
./gatherHeaderDoc.pl -N Documentation/hdapi index.html
$RESOLVELINKS -s Documentation/reference_additions.xref Documentation/hdapi
if [ -x ./breadcrumbtree.pl ] ; then
if which perl5.8.9 > /dev/null ; then
perl5.8.9 ./breadcrumbtree.pl Documentation/hdapi
else
./breadcrumbtree.pl Documentation/hdapi
fi
fi