diff options
Diffstat (limited to 'scripts/update_docs')
-rwxr-xr-x | scripts/update_docs | 13 |
1 files changed, 13 insertions, 0 deletions
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 |