Skip to content
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
7 changes: 2 additions & 5 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,12 @@ generate_dynamic_content:
python generate.py

html: sym_links generate_dynamic_content
# These two lines make the build a bit more lengthy, and the
# the embedding of images more robust
rm -rf $(BUILDDIR)/html/_images
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
touch $(BUILDDIR)/html/.nojekyll
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

deploy: html
# Assuming the docs repo is cloned in the same repo as biolearn is this will update the site
rsync -av --delete --exclude .git/ _build/html/ $(GH_PAGES_REPO)
cd $(GH_PAGES_REPO) && git add . && git commit -m "Automation Updated documentation" && git push
rsync -av --delete --exclude .git/ _build/html/ "$(GH_PAGES_REPO)"
cd "$(GH_PAGES_REPO)" && git add . && git commit -m "Automation Updated documentation" && git push