File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e # Exit with nonzero exit code if anything fails
33
4- # Doxygen
4+ # Build Doxygen
55echo " Build the Doxygen documentation"
66cd Docs/Doxygen
77doxygen doxygen.conf & > doxygen.out
@@ -12,27 +12,29 @@ if grep -q "warning:" doxygen.out; then
1212fi
1313cd ../..
1414
15- # sphinx
16- cd Docs/sphinx_documentation
17-
18- echo " Build the Sphinx documentation for Amrex."
19- make PYTHON=" python3" latexpdf
20- mv build/latex/amrex.pdf source/
21- make clean
22- make SPHINXOPTS=' -v -W --keep-going' PYTHON=" python3" html
23- cd ../../
24-
2515mkdir build
2616cd build
2717mkdir docs_html docs_xml
2818
29- # add doxygen
19+ # copy doxygen to target location
3020mkdir -p docs_html/doxygen
3121cp -rp ../Docs/Doxygen/html/* docs_html/doxygen/
3222mkdir -p docs_xml/doxygen
3323cp -rp ../Docs/Doxygen/xml/* docs_xml/doxygen/
3424# add tagfile to allow other docs to interlink with amrex
3525cp ../Docs/Doxygen/amrex-doxygen-web.tag.xml docs_xml/doxygen/.
3626
37- # add sphinx
27+ # Build sphinx
28+ cd ../Docs/sphinx_documentation
29+
30+ echo " Build the Sphinx documentation for Amrex."
31+ make PYTHON=" python3" latexpdf
32+ mv build/latex/amrex.pdf source/
33+ make clean
34+ make SPHINXOPTS=' -v -W --keep-going' PYTHON=" python3" html
35+ cd ../../
36+
37+ cd build
38+
39+ # copy sphinx to target location
3840cp -rp ../Docs/sphinx_documentation/build/html/* docs_html/
You can’t perform that action at this time.
0 commit comments