From 9aba276757243c426d5e18536779f1bf277b4c91 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 28 Jul 2017 00:41:40 +0100 Subject: Adding update_docs script and updated documentation --- scripts/update_docs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/update_docs (limited to 'scripts/update_docs') diff --git a/scripts/update_docs b/scripts/update_docs new file mode 100755 index 00000000..6864d6d3 --- /dev/null +++ b/scripts/update_docs @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +doxygen ./docs/Doxyfile +git clone -b gh-pages git@github.com:ymherklotz/YAGE +cd YAGE/ +git rm -rf * +mv ../html/* . +rm -rf ../html +git add -A +git commit -a -m 'Updating docs' +git push origin gh-pages +cd .. +rm -rf YAGE -- cgit