Skip to content

Commit

Permalink
Updated bpdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Espen Flage-Larsen committed Feb 21, 2019
1 parent 189e549 commit 4099170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bpdocs
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ touch .nojekyll
git checkout updated_documentation docs/_build/html

# now we only need html content for gh-pages
mv ./docs/_build/html/* ./
rm -rf ./docs
mv ./docs/_build/html/* ./ && rm -rf ./docs

# add, commit and push gh-pages
git add -A
git commit -m "Publishing updated documentation"
git push origin gh-pages

# switch back to branch
git checkout updated_documentation

# Clean stuff
cd docs
make clean
# Some LaTeX folder that needs to be removed
rm -rf docs/auto
cd ..

# switch back to branch
git checkout updated_documentation

0 comments on commit 4099170

Please sign in to comment.