diff --git a/doc/build_antora.sh b/doc/build_antora.sh index 21871e1..7841a7f 100755 --- a/doc/build_antora.sh +++ b/doc/build_antora.sh @@ -19,6 +19,9 @@ if [ $# -eq 0 ] PLAYBOOK=$1 fi +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cd "$SCRIPT_DIR" + echo "Building documentation with Antora..." echo "Installing npm dependencies..." npm ci