blob: caef8a362de4e8790d6ea0c5678e66f68043ca12 (
plain)
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
28
29
30
31
32
33
34
35
|
#!/bin/bash
#api-slave.sh
BUILDDIR="sugar-jhbuild"
DOCDIR="apidocs"
# bash check if directory exists
if [ -d $BUILDDIR ]; then
pushd $BUILDDIR
git-pull
popd
else
git-clone git://git.sugarlabs.org/sugar-jhbuild/mainline.git $BUILDDIR
fi
pushd $BUILDDIR
./sugar-jhbuild --no-interact
popd
epydoc $BUILDDIR/install/lib/python2.5/site-packages/sugar \
--verbose \
--html \
--docformat="restructuredtext" \
--show-private \
--show-sourcecode \
--include-log \
--name="Sugar learning platform" \
--css="white" \
--url="http://api.sugarlabs.org" \
--navlink="<a href='www.sugarlabs.org'>Sugar Learning Platfrom</a>" \
--graph="all" \
--dotpath="/usr/bin/dot" \
--fail-on-error \
--output=$DOCDIR
|