From 93ef7c64747f9a43d8e0a9c35aa79a6b34c2a0e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20B=C3=BClter?= Date: Fri, 3 Jan 2025 10:56:23 +0100 Subject: [PATCH] [TASK] Add options to docs:generate Add "fail-on-log" and "no-progress" options to better match the local rendering of the documentation with the test in the GitHub pipeline. That allows to find rendering issues locally, not only during the pipeline run. see https://github.com/tpwd/ke_search/pull/265 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ebe2cd416..2ecb575ec 100644 --- a/composer.json +++ b/composer.json @@ -65,7 +65,7 @@ "vendor-dir": ".Build/vendor" }, "scripts": { - "docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation", + "docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --fail-on-log --no-progress", "test:unit": ".Build/bin/phpunit -c Tests/phpunit.xml.dist", "test:phpstan": ".Build/bin/phpstan clear-result-cache && .Build/bin/phpstan --configuration=Tests/phpstan.neon > phpstan-report.log", "test:php-cs-fixer": ".Build/bin/php-cs-fixer fix -v --dry-run --using-cache=no > php-cs-fixer-report.log"