-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guides Build Status / docs job does not catch warnings as errors #8117
Comments
It looks like you're using Sphinx 1.5.6. The Jenkins nodes and the GitHub Actions workflow are using 3.5.4, which currently builds cleanly on develop:
Let me know if upgrading Sphinx doesn't clear things up? |
I upgraded to 3.5.4 locally but I get the same error:
Please note that I'm on 21fd637 on the 41-add-auth-to-harvest-api branch, not develop. |
Pull request #8118 was a good fix. Thanks, @donsizemore ! Now when pull requests have docs that don't build (that is, where |
@pdurbin I did it for the T-shirt. |
If you look at pull request #8106 you'll see "all checks have passed" including the one for docs:
However, if you get on the branch locally and run
make html
the build fails:This means that the GitHub action for docs is giving us a false sense of security. It's saying the docs are ok, but they won't actually build.
Interestingly, we do see the warnings in the pull request:
So maybe we need to treat the warnings as errors in the docs GitHub Action, like we do in the Makefile? This is with
SPHINXOPTS = -W
The text was updated successfully, but these errors were encountered: