Travis to Update gh-pages with more information

This commit is contained in:
Travis
2015-02-11 16:09:35 -06:00
parent b5231900b1
commit c1ae2f3383
3 changed files with 221 additions and 1 deletions

View File

@@ -1,8 +1,18 @@
#!/bin/sh
# Get ApiGen.phar
wget http://www.apigen.org/apigen.phar
# Generate Api
php apigen.phar generate -s lib -d ../gh-pages
php apigen.phar generate -s lib -d ../gh-pages/docs
# Copy Home Page from Master Branch to Gh-Pages folder
cp -r docs/* ../gh-pages/
# Copy samples
cp -r sample ../gh-pages/sample
# As PHP is not allowed in Github
cp sample/index.php ../gh-pages/sample/index.html
cd ../gh-pages
# Set identity