From eaeb5f7567d51d2e89875e9b51012a05fa3397de Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 17 Jul 2022 14:18:24 +0200 Subject: Script to update the reference documentation files --- docs/update_reference.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 docs/update_reference.sh (limited to 'docs/update_reference.sh') 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 $* -- cgit v1.2.3