ashb commented on code in PR #74549:
URL: https://github.com/apache/airflow/pull/74549#discussion_r4247787438
##########
.github/workflows/publish-docs-to-s3.yml:
##########
@@ -375,7 +375,12 @@ jobs:
> generated/_build/docs/sphinx-build-skipped.txt
echo "sphinx-build-skipped=true" >> "${GITHUB_OUTPUT}"
else
- breeze build-docs ${SPHINX_INCLUDE_DOCS} --docs-only
${FAIL_ON_INVENTORIES}
+ # Refs whose breeze still has --docs-only check spelling in a
second full build; skip it.
+ DOCS_ONLY=""
+ if grep -q '"--docs-only"'
dev/breeze/src/airflow_breeze/commands/developer_commands.py; then
+ DOCS_ONLY="--docs-only"
+ fi
+ breeze build-docs ${SPHINX_INCLUDE_DOCS} ${DOCS_ONLY}
${FAIL_ON_INVENTORIES}
Review Comment:
I wans't quite sure when this would be used. Can you explain more where this
path is actually hit?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]