diff --git a/Build/generate_documentation.sh b/Build/generate_documentation.sh index 5b260ad286..dbfc0d8d63 100755 --- a/Build/generate_documentation.sh +++ b/Build/generate_documentation.sh @@ -26,7 +26,7 @@ fi dockrun_t3rd makehtml-no-cache -if [[ "$BUILD_DOCS_FOR_PRUCTION" == 1 || "$BUILD_DOCS_FOR_PRUCTION" == "true" ]]; then +if [[ "$BUILD_DOCS_FOR_PRODUCTION" == 1 || "$BUILD_DOCS_FOR_PRODUCTION" == "true" ]]; then rm -Rf "${PRODUCTION_DOCS_PATH}" mv -v "Documentation-GENERATED-temp/Result/project/0.0.0" "${PRODUCTION_DOCS_PATH}" ln -sf "${PRODUCTION_DOCS_PATH}" "Documentation.HTML" diff --git a/composer.json b/composer.json index 57ab518894..2a7de6290b 100644 --- a/composer.json +++ b/composer.json @@ -82,7 +82,7 @@ "./Build/generate_documentation.sh" ], "t3:docs:build:prod": [ - "BUILD_DOCS_FOR_PRUCTION=1 $COMPOSER_BINARY t3:docs:build" + "BUILD_DOCS_FOR_PRODUCTION=1 $COMPOSER_BINARY t3:docs:build" ], "t3:docs:clean": [ "rm -Rf Documentation-GENERATED-temp/ $(readlink -f Documentation.HTML) Documentation.HTML"