Skip to content

Commit cc1db99

Browse files
author
Andrey Antukh
committed
Add build docs script.
1 parent fffa5c7 commit cc1db99

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

build-latest-docs.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
VERSION="latest"
3+
4+
lein doc
5+
(cd doc; make)
6+
7+
rm -rf /tmp/cats-doc/
8+
mkdir -p /tmp/cats-doc/
9+
mv doc/index.html /tmp/cats-doc/
10+
mv doc/codox /tmp/cats-doc/codox
11+
cp logo/logo.png /tmp/cats-doc/logo.png
12+
13+
git checkout gh-pages;
14+
15+
rm -rf ./$VERSION
16+
mv /tmp/cats-doc/ ./$VERSION
17+
18+
git add --all ./$VERSION
19+
git commit -a -m "Update ${VERSION} doc"

0 commit comments

Comments
 (0)