Skip to content
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

[Docs] [CI] Fix and simplify script that builds the documentation #1612

Merged
merged 1 commit into from
Dec 7, 2020
Merged
Changes from all commits
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
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/
Comment on lines -35 to +33
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could just mv?

mv ../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/