scripts/build_epydocs.sh
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 04 Feb 2009 23:04:10 +0000
changeset 1214 7fb705534dd1
parent 130 63248d9db484
permissions -rwxr-xr-x
Include the field_id in the context of _as_table_helper This makes it possible to refer to the field that is being edited by it's ID (in for example Javascript). Patch by: "Mario Ferraro" <fadinlight@gmail.com>

#!/bin/bash
# Generates epydoc for $target to $outdir, while ignoring $exclude
# WARNING: The contents of $outdir are -deleted- before the running epydoc
# This way there are no 'stale files' when the script finishes.

 outdir="../../wiki/html/epydoc"
 target="../app ../tests"
exclude="django"

echo "Cleaning out $outdir..."
rm -f $outdir/*
echo "Done."
echo

echo "Running epydoc..."
echo "$target -> $outdir"
echo "================="

epydoc --html -v --show-private --inheritance=included --graph=all \
  --parse-only --exclude=$exclude -o $outdir $target

echo "================="
echo "Done."
echo

echo "Goodbye."