From f259ee4c7eff1b59f8abdcf35b5b014b7683d8b4 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 22 Oct 2025 19:26:12 +0200 Subject: [PATCH] adjusted working directory inside build_antora.sh --- doc/build_antora.sh | 3 +++ 1 file changed, 3 insertions(+) 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