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