projects
/
m6w6
/
ext-raphf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
15bd53a
)
add doxygen script updating gh-pages
author
Michael Wallner
<mike@php.net>
Mon, 27 Jul 2015 15:08:08 +0000
(17:08 +0200)
committer
Michael Wallner
<mike@php.net>
Mon, 27 Jul 2015 15:08:08 +0000
(17:08 +0200)
doxygen_gh-pages.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/doxygen_gh-pages.sh
b/doxygen_gh-pages.sh
new file mode 100755
(executable)
index 0000000..
770f098
--- /dev/null
+++ b/
doxygen_gh-pages.sh
@@ -0,0
+1,18
@@
+#!/bin/sh
+set -e
+
+TMPDIR=$(mktemp -d)
+git-new-workdir . $TMPDIR gh-pages
+
+( \
+ cat Doxyfile; \
+ echo "OUTPUT_DIRECTORY=$TMPDIR"; \
+ echo "HTML_OUTPUT=."; \
+) | doxygen -
+
+cd $TMPDIR
+git add -A
+git commit -m "update docs"
+cd -
+rm -r $TMPDIR
+