From 0041604a8965194df70a387c71b190d0e072e31c Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Sun, 13 Oct 2024 17:32:42 +0200 Subject: [PATCH] ci: Melos root path not needed for running doc setup script (#3340) It needs to use the full root path to find the script. --- scripts/doc-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/doc-setup.sh b/scripts/doc-setup.sh index 9d607c66d..57e45552b 100755 --- a/scripts/doc-setup.sh +++ b/scripts/doc-setup.sh @@ -4,7 +4,7 @@ set -e echo Checking python version: python3 --version && python3 -c "import sys; sys.exit(0 if sys.version_info >= (3,8) else 2)" || (echo "Error: Python 3.8+ is required" && exit 1) echo Installing required python modules: -python3 -m pip install -r "$MELOS_ROOT_PATH/doc/_sphinx/requirements.txt" +python3 -m pip install -r "doc/_sphinx/requirements.txt" echo Installing dartdoc_json: dart pub global activate dartdoc_json echo Done.