forked from LiveCarta/PayPal-PHP-SDK
Merge branch 'avidas-update-doc'
This commit is contained in:
@@ -19,7 +19,7 @@ script:
|
|||||||
- phpunit
|
- phpunit
|
||||||
after_success:
|
after_success:
|
||||||
- php vendor/bin/coveralls -v -c .coveralls.yml
|
- php vendor/bin/coveralls -v -c .coveralls.yml
|
||||||
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then sh generate-api.sh; fi
|
- if [ $TRAVIS_PHP_VERSION = '5.6' ] && [ $TRAVIS_BRANCH = 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ]; then sh generate-api.sh; fi
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
recipients:
|
recipients:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
<link rel="icon" href="../sample/images/favicon.ico">
|
<link rel="icon" href="https://www.paypalobjects.com/webstatic/icon/favicon.ico">
|
||||||
<title>PayPal PHP SDK - Welcome</title>
|
<title>PayPal PHP SDK - Welcome</title>
|
||||||
<!-- Bootstrap core CSS -->
|
<!-- Bootstrap core CSS -->
|
||||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Get ApiGen.phar
|
# Get ApiGen.phar
|
||||||
wget http://www.apigen.org/apigen.phar
|
wget http://www.apigen.org/apigen.phar
|
||||||
|
|
||||||
# Generate Api
|
# Generate SDK Docs
|
||||||
php apigen.phar generate --template-theme="bootstrap" -s lib -d ../gh-pages/docs
|
php apigen.phar generate --template-theme="bootstrap" -s lib -d ../gh-pages/docs
|
||||||
|
|
||||||
# Copy Home Page from Master Branch to Gh-Pages folder
|
# Copy Home Page from Master Branch to Gh-Pages folder
|
||||||
@@ -26,5 +26,5 @@ git checkout -B gh-pages
|
|||||||
|
|
||||||
# Push generated files
|
# Push generated files
|
||||||
git add .
|
git add .
|
||||||
git commit -m "API updated"
|
git commit -m "Docs updated by Travis"
|
||||||
git push origin gh-pages -fq > /dev/null
|
git push origin gh-pages -fq > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user