Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ cd ../..
cd Docs/sphinx_documentation

echo "Build the Sphinx documentation for Amrex."
make PYTHON="python3" latexpdf
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
Copy link
Member

@WeiqunZhang WeiqunZhang Nov 3, 2025

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.

Copy link
Member

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.

Copy link
Member

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.

Copy link
Member Author

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.

cd ../../

mkdir build
Expand Down
Loading