summaryrefslogtreecommitdiff
path: root/docs/update_reference.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/update_reference.sh')
-rwxr-xr-xdocs/update_reference.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/update_reference.sh b/docs/update_reference.sh
new file mode 100755
index 0000000..784ea2b
--- /dev/null
+++ b/docs/update_reference.sh
@@ -0,0 +1,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 $*