python / python-docs-theme

Sphinx theme for Python documentation
Other
74 stars 58 forks source link

Show logs on error #164

Closed hugovk closed 7 months ago

hugovk commented 7 months ago

Currently the 3.8 and 3.9 branches are failing to build, but no error logs are printed on the CI due to sys.stderr.isatty() being false:

https://github.com/python/docsbuild-scripts/blob/f0a570aec824c7d775ea9d345a89d1b10d0f11b2/build_docs.py#L604-L617

This will show the logs if there's a failure.

m-aciek commented 7 months ago

By the way, the PR to fix the upstream: https://github.com/python/cpython/pull/113815.