generate-apidocs.sh 206 Bytes
Newer Older
1
2
3
4
5
6
7
#!/bin/sh
if [ ! -f "./index.rst" ]; then
    >&2 echo "Run me from the docs/ folder!"
    exit 1
fi

sphinx-apidoc -M -f -o docs ../website ../website/*/migrations ../website/*/tests* ../website/manage.py