ferruzzi commented on PR #30174:
URL: https://github.com/apache/airflow/pull/30174#issuecomment-1476786856
So this is interesting. I ran `breeze build-docs --spellcheck-only
--package-filter apache-airflow` a few times, and it fails exactly every
alternating run with the following message. Run it again without changes and
it passes. Run again and it fails, etc.
```
apache-airflow [1m[01mreading
sources... [1m[39;49;00m[100%] [1m[35mpublic-airflow-interface[1m[39;49;00m
apache-airflow
apache-airflow Traceback (most
recent call last):
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/cmd/build.py", line 281, in
build_main
apache-airflow
app.build(args.force_all, args.filenames)
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/application.py", line 347, in
build
apache-airflow
self.builder.build_update()
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 307,
in build_update
apache-airflow
self.build(['__all__'], to_build)
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 326,
in build
apache-airflow
updated_docnames = set(self.read())
apache-airflow File
"/usr/local/lib/python3.7/contextlib.py", line 119, in __exit__
apache-airflow
next(self.gen)
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/util/logging.py", line 218, in
pending_warnings
apache-airflow
memhandler.flushTo(logger)
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/util/logging.py", line 183, in
flushTo
apache-airflow
logger.handle(record)
apache-airflow File
"/usr/local/lib/python3.7/logging/__init__.py", line 1524, in handle
apache-airflow
self.callHandlers(record)
apache-airflow File
"/usr/local/lib/python3.7/logging/__init__.py", line 1586, in callHandlers
apache-airflow
hdlr.handle(record)
apache-airflow File
"/usr/local/lib/python3.7/logging/__init__.py", line 890, in handle
apache-airflow rv =
self.filter(record)
apache-airflow File
"/usr/local/lib/python3.7/logging/__init__.py", line 751, in filter
apache-airflow result =
f.filter(record)
apache-airflow File
"/usr/local/lib/python3.7/site-packages/sphinx/util/logging.py", line 426, in
filter
apache-airflow raise exc
apache-airflow
sphinx.errors.SphinxWarning:
/opt/airflow/docs/apache-airflow/public-airflow-interface.rst:65:toctree
contains
reference to nonexisting document '_api/airflow/example_dags/index'
apache-airflow
apache-airflow [1m[91mWarning,
treated as error:[1m[39;49;00m
apache-airflow
/opt/airflow/docs/apache-airflow/public-airflow-interface.rst:65:toctree
contains reference to nonexisting document
'_api/airflow/example_dags/index'
```
--
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]