summaryrefslogtreecommitdiff
path: root/docs/update_reference.sh
blob: 784ea2b05bad3c6aab70d05c6c5544b00751a0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# This script generates new autodoc files for the hazwaz reference, overwriting
# all existing files.

cd $(dirname "$0")/..

echo "This will overwrite all existing files in the docs/source/reference/"
echo "continue? (press enter to continue, or ctrl-C to abort)"

read continue

sphinx-apidoc -f -e -M -o docs/source/reference/ hazwaz $*