-
Notifications
You must be signed in to change notification settings - Fork 428
Catch Sphinx build errors in CI #4751
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
Catch Sphinx build errors in CI #4751
Conversation
build_docs.sh
Outdated
| make SPHINXOPTS='-v -W --keep-going' PYTHON="python3" latexpdf | ||
| mv build/latex/amrex.pdf source/ | ||
| make PYTHON="python3" html &> make_source_html.out | ||
| make SPHINXOPTS='-v -W --keep-going' PYTHON="python3" html &> make_source_html.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should remove &> make_source_html.out so that we can actually see the output and error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to build html first to treat warnings as errors, if we ignore the warnings from latexpdf. Or we do make clean before make html.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make html was reusing the results of make latexpdf. That was why it did not break.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current code breaks. Now let me fix the table again.
|
There is |
Summary
Additional background
Checklist
The proposed changes: