forked from LiveCarta/PayPal-PHP-SDK
Travis to Update gh-pages with more information
This commit is contained in:
119
docs/cover.css
Normal file
119
docs/cover.css
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
/* Sticky footer styles
|
||||||
|
-------------------------------------------------- */
|
||||||
|
html {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
/* Margin bottom by footer height */
|
||||||
|
margin-bottom: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
/* Set the fixed height of the footer here */
|
||||||
|
height: 60px;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Footer
|
||||||
|
--------------------------------------------------- */
|
||||||
|
.footer-links, .footer-links li {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 110%;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links li {
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links a {
|
||||||
|
color: #428bca;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Custom CSS
|
||||||
|
--------------------------------------------------- */
|
||||||
|
.body-content {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #FDFCFA;
|
||||||
|
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
|
||||||
|
background: #fff url("https://www.paypalobjects.com/webstatic/developer/banners/Braintree_desktop_BG_2X.jpg") repeat-y top right;
|
||||||
|
-webkit-background-size: cover;
|
||||||
|
-moz-background-size: cover;
|
||||||
|
-o-background-size: cover;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .col-md-4 .well {
|
||||||
|
min-height: 175px;
|
||||||
|
background-color: #FDFDFD;
|
||||||
|
border: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .col-md-4 .sprite {
|
||||||
|
width: 60px;
|
||||||
|
height: 70px;
|
||||||
|
}
|
||||||
|
.content .col-md-4 .sprite {
|
||||||
|
float: left;
|
||||||
|
margin: 0 5px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .col-md-4 .box {
|
||||||
|
float: left;
|
||||||
|
width: 75%;
|
||||||
|
}
|
||||||
|
.content .col-md-4 .box h3 {
|
||||||
|
color: #428bca;
|
||||||
|
font-size: 24px;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content a:hover .col-md-4 .box h3{
|
||||||
|
color: #23527c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content a:hover .col-md-4 .well{
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .col-md-4 .box hr {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.content a:hover {
|
||||||
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
|
.content a:hover .mobile {
|
||||||
|
background-position: -90px -124px
|
||||||
|
}
|
||||||
|
|
||||||
|
.content a:hover .api {
|
||||||
|
background-position: -90px -234px
|
||||||
|
}
|
||||||
|
|
||||||
|
.content a:hover .sandbox {
|
||||||
|
background-position: -90px -344px
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .col-md-4 .box p {
|
||||||
|
margin: 5px;
|
||||||
|
color: #666;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
91
docs/index.html
Normal file
91
docs/index.html
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
<link rel="icon" href="../sample/images/favicon.ico">
|
||||||
|
|
||||||
|
<title>PayPal PHP SDK - Welcome</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="cover.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="container-fluid body-content">
|
||||||
|
<div class="row-fluid header">
|
||||||
|
<img src="https://raw.githubusercontent.com/wiki/paypal/PayPal-PHP-SDK/images/homepage.jpg" class="img-responsive">
|
||||||
|
</div>
|
||||||
|
<div class="container content">
|
||||||
|
<div class="row-fluid" >
|
||||||
|
<a href="https://github.com/paypal/PayPal-PHP-SDK/wiki" target="_blank">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="well clearfix">
|
||||||
|
<div class="sprite"><i class="fa fa-book fa-4x"></i></div>
|
||||||
|
<div class="box"> <h3>PHP SDK Wiki</h3> <hr /> <p> Find everything from Installing, running Samples, Configurations in PHP SDK Wiki </p> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="http://paypal.github.io/PayPal-PHP-SDK/docs/">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="well clearfix">
|
||||||
|
<div class="sprite"><i class="fa fa-code fa-4x"></i></div>
|
||||||
|
<div class="box"> <h3>PHP Source Docs</h3> <hr /> <p> Check out PHP Source Documentation, to see the internals of PHP SDK. </p> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="http://paypal.github.io/PayPal-PHP-SDK/sample/index.php">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="well clearfix">
|
||||||
|
<div class="sprite"><i class="fa fa-terminal fa-4x"></i></div>
|
||||||
|
<div class="box"> <h3>Sample Codes</h3> <hr /> <p> Check out the sample code for using SDKs to call all PayPal APIs. </p> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="footer-div">
|
||||||
|
<ul class="footer-links">
|
||||||
|
<li>
|
||||||
|
<a href="https://github.com/paypal/PayPal-PHP-SDK" target="_blank"><i
|
||||||
|
class="fa fa-github"></i>
|
||||||
|
Github</a></li>
|
||||||
|
<li>
|
||||||
|
<a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i
|
||||||
|
class="fa fa-book"></i> REST API Reference</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://github.com/paypal/PayPal-PHP-SDK/issues" target="_blank"><i
|
||||||
|
class="fa fa-exclamation-triangle"></i> Report Issues </a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript
|
||||||
|
================================================== -->
|
||||||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
||||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,8 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
# Get ApiGen.phar
|
# Get ApiGen.phar
|
||||||
wget http://www.apigen.org/apigen.phar
|
wget http://www.apigen.org/apigen.phar
|
||||||
|
|
||||||
# Generate Api
|
# 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
|
cd ../gh-pages
|
||||||
|
|
||||||
# Set identity
|
# Set identity
|
||||||
|
|||||||
Reference in New Issue
Block a user