diff options
Diffstat (limited to 'docs/update_reference.sh')
-rwxr-xr-x | docs/update_reference.sh | 13 |
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 $* |