From 7b0068fa9f3d8f3fc2383507b5f756c91b16767d Mon Sep 17 00:00:00 2001 From: Charles Beauville Date: Fri, 20 Dec 2024 15:28:11 +0100 Subject: [PATCH] fix(framework) Improve check in docs generation (#4755) --- framework/docs/build-versioned-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/docs/build-versioned-docs.sh b/framework/docs/build-versioned-docs.sh index 452452fc63da..33179a9dbf0c 100755 --- a/framework/docs/build-versioned-docs.sh +++ b/framework/docs/build-versioned-docs.sh @@ -45,7 +45,7 @@ for current_version in ${versions}; do fi echo "INFO: Building sites for ${current_version}" - if [ -d "framework/docs" ]; then + if [ -f "framework/docs/source/conf.py" ]; then cd framework/docs else cd doc