Add web based python shell to Melange.
[Melange.git] / scripts / build_epydocs.sh
blob2947954aacf73d5cdc2f2ad36933b1535dcf5d63
1 #!/bin/bash
2 # Generates epydoc for $target to $outdir, while ignoring $exclude
3 # WARNING: The contents of $outdir are -deleted- before the running epydoc
4 # This way there are no 'stale files' when the script finishes.
6 outdir="../../wiki/html/epydoc"
7 target="../app ../tests"
8 exclude="django"
10 echo "Cleaning out $outdir..."
11 rm -f $outdir/*
12 echo "Done."
13 echo
15 echo "Running epydoc..."
16 echo "$target -> $outdir"
17 echo "================="
19 epydoc --html -v --show-private --inheritance=included --graph=all \
20 --parse-only --exclude=$exclude -o $outdir $target
22 echo "================="
23 echo "Done."
24 echo
26 echo "Goodbye."