Skip to content

Commit

Permalink
generate pdf and copy it into source before building html
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Sep 28, 2018
1 parent a2f0d4d commit ffd3e55
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,18 @@ mv Docs/Doxygen/html/* out/docs_html/doxygen/

# now do sphinx
cd Docs/sphinx_documentation
make SPHINX_BUILD="python3.6 -msphinx" html latexpdf
make SPHINX_BUILD="python3.6 -msphinx" latexpdf
mv Docs/sphinx_documentation/build/latex/amrex.pdf Docs/sphinx_documentation/source
make SPHINX_BUILD="python3.6 -msphinx" html

cd ../sphinx_tutorials
make SPHINX_BUILD="python3.6 -msphinx" html latexpdf
make SPHINX_BUILD="python3.6 -msphinx" latexpdf
mv Docs/sphinx_tutorials/build/latex/amrex.pdf Docs/sphinx_tutorials/source
make SPHINX_BUILD="python3.6 -msphinx" html
cd ../../

mv Docs/sphinx_documentation/build/html/* out/docs_html/
mv Docs/sphinx_documentation/build/latex/amrex.pdf out/docs_html/
mv Docs/sphinx_tutorials/build/html/* out/tutorials_html/
mv Docs/sphinx_tutorials/build/latex/amrex.pdf out/tutorials_html/
touch out/.nojekyll

# Now let's go have some fun with the cloned repo
Expand Down

0 comments on commit ffd3e55

Please sign in to comment.