Skip to content

Commit

Permalink
fix and simplify script that builds the documentation (AMReX-Codes#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers authored Dec 7, 2020
1 parent 6fb23a3 commit 2bbaf1b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@ cd ../../

mkdir build
cd build
mkdir amrex
cd amrex
mkdir docs_html tutorials_html docs_xml

# add doxygen
mkdir -p docs_html/doxygen
cp -rp ../../Docs/Doxygen/html/* docs_html/doxygen/
cp -rp ../Docs/Doxygen/html/* docs_html/doxygen/
mkdir -p docs_xml/doxygen
cp -rp ../../Docs/Doxygen/xml/* docs_xml/doxygen/
cp -rp ../Docs/Doxygen/xml/* docs_xml/doxygen/

# add sphinx
cp -rp ../../Docs/sphinx_documentation/build/html/* docs_html/
cp -rp ../../Docs/sphinx_tutorials/build/html/* tutorials_html/
cp -rp ../Docs/sphinx_documentation/build/html/* docs_html/
cp -rp ../Docs/sphinx_tutorials/build/html/* tutorials_html/

0 comments on commit 2bbaf1b

Please sign in to comment.