From 302d64182a86a4ea53a2f6133b5218ef50157bfa Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 5 Dec 2019 02:11:51 +0300 Subject: Rename tools scripts --- tools/docs-generate | 7 +++++++ tools/docs-push-gh-pages | 14 ++++++++++++++ tools/generate-docs | 7 ------- tools/push-ghpages | 14 -------------- 4 files changed, 21 insertions(+), 21 deletions(-) create mode 100755 tools/docs-generate create mode 100755 tools/docs-push-gh-pages delete mode 100755 tools/generate-docs delete mode 100755 tools/push-ghpages diff --git a/tools/docs-generate b/tools/docs-generate new file mode 100755 index 0000000..0caab1d --- /dev/null +++ b/tools/docs-generate @@ -0,0 +1,7 @@ +#!/bin/bash + +cd .. +rm -rf doc docs +doxygen +mv doc/html docs +touch docs/.nojekyll diff --git a/tools/docs-push-gh-pages b/tools/docs-push-gh-pages new file mode 100755 index 0000000..36e80f8 --- /dev/null +++ b/tools/docs-push-gh-pages @@ -0,0 +1,14 @@ +#!/bin/bash + +./docs-generate +cd .. +git checkout gh-pages +find . -maxdepth 1 -not -name "docs" -not -name ".git" -not -name "tools" -print0 | xargs -0 rm -r +mv docs/* . +mv docs/.nojekyll . +rmdir docs +rm -r tools/* +git add -A +git commit -m "Updated docs $(date)" +git push origin gh-pages +git checkout master diff --git a/tools/generate-docs b/tools/generate-docs deleted file mode 100755 index 0caab1d..0000000 --- a/tools/generate-docs +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cd .. -rm -rf doc docs -doxygen -mv doc/html docs -touch docs/.nojekyll diff --git a/tools/push-ghpages b/tools/push-ghpages deleted file mode 100755 index e7b41fa..0000000 --- a/tools/push-ghpages +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -./generate-docs -cd .. -git checkout gh-pages -find . -maxdepth 1 -not -name "docs" -not -name ".git" -not -name "tools" -print0 | xargs -0 rm -r -mv docs/* . -mv docs/.nojekyll . -rmdir docs -rm -r tools/* -git add -A -git commit -m "Updated docs $(date)" -git push origin gh-pages -git checkout master -- cgit v1.2.3