Updates to Documentation

- Updated Github Pages
- Updates to Sample
- README.md updates
This commit is contained in:
Jay Patel
2015-02-17 13:20:26 -06:00
parent d50d980cb8
commit 3007c9dfe1
5 changed files with 57 additions and 12 deletions

View File

@@ -10,16 +10,18 @@ __Welcome to PayPal PHP SDK__. This repository contains PayPal's PHP SDK and sam
## SDK Documentation ## SDK Documentation
[ Our Wiki Section ](https://github.com/paypal/PayPal-PHP-SDK/wiki) includes all the documentation related to SDK. Everything from making your first call, to configurations, to running samples. Here are few quick links to get you there faster. [ Our PayPal-PHP-SDK Page ](http://paypal.github.io/PayPal-PHP-SDK/) includes all the documentation related to PHP SDK. Everything from SDK Wiki, to Sample Codes, to Releases. Here are few quick links to get you there faster.
* [ Wiki Home ](https://github.com/paypal/PayPal-PHP-SDK/wiki) * [ PayPal-PHP-SDK Home Page ](http://paypal.github.io/PayPal-PHP-SDK/)
* [ Wiki ](https://github.com/paypal/PayPal-PHP-SDK/wiki)
* [ Samples ](http://paypal.github.io/PayPal-PHP-SDK/sample/)
* [ Installation ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Installation) * [ Installation ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Installation)
* [ Make your First SDK Call](https://github.com/paypal/PayPal-PHP-SDK/wiki/Making-First-Call) * [ Make your First SDK Call](https://github.com/paypal/PayPal-PHP-SDK/wiki/Making-First-Call)
* [ Samples ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Samples)
* [ PayPal Developer Docs] (https://developer.paypal.com/docs/) * [ PayPal Developer Docs] (https://developer.paypal.com/docs/)
## Latest Updates ## Latest Updates
- Now we have a [Github Page](http://paypal.github.io/PayPal-PHP-SDK/), that helps you find all helpful resources building applications using PayPal-PHP-SDK.
- Introduced `DEBUG` level to logging. Deprecated `FINE`. Ability to restrict `DEBUG` level on `live` mode. [Read More](https://github.com/paypal/PayPal-PHP-SDK/wiki/Logging). - Introduced `DEBUG` level to logging. Deprecated `FINE`. Ability to restrict `DEBUG` level on `live` mode. [Read More](https://github.com/paypal/PayPal-PHP-SDK/wiki/Logging).
- Checkout the latest 1.0.0 release. Here are all the [ breaking Changes in v1.0.0 ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Breaking-Changes---1.0.0) if you are migrating from older versions. - Checkout the latest 1.0.0 release. Here are all the [ breaking Changes in v1.0.0 ](https://github.com/paypal/PayPal-PHP-SDK/wiki/Breaking-Changes---1.0.0) if you are migrating from older versions.
@@ -30,8 +32,9 @@ __Welcome to PayPal PHP SDK__. This repository contains PayPal's PHP SDK and sam
## More help ## More help
* [PayPal-PHP-SDK Home Page](http://paypal.github.io/PayPal-PHP-SDK/)
* [SDK Documentation](https://github.com/paypal/PayPal-PHP-SDK/wiki) * [SDK Documentation](https://github.com/paypal/PayPal-PHP-SDK/wiki)
* [Sample Source Code](http://htmlpreview.github.io/?https://github.com/paypal/PayPal-PHP-SDK/blob/master/sample/index.php) * [Sample Source Code](http://paypal.github.io/PayPal-PHP-SDK/sample/)
* [API Reference](https://developer.paypal.com/webapps/developer/docs/api/) * [API Reference](https://developer.paypal.com/webapps/developer/docs/api/)
* [Reporting Issues / Feature Requests] (https://github.com/paypal/PayPal-PHP-SDK/issues) * [Reporting Issues / Feature Requests] (https://github.com/paypal/PayPal-PHP-SDK/issues)
* [Pizza App Using Paypal REST API] (https://github.com/paypal/rest-api-sample-app-php) * [Pizza App Using Paypal REST API] (https://github.com/paypal/rest-api-sample-app-php)

View File

@@ -57,6 +57,10 @@ body {
margin-top: 30px; margin-top: 30px;
} }
.content .lead {
color: #666;
}
.content .col-md-4 .well { .content .col-md-4 .well {
min-height: 175px; min-height: 175px;
background-color: #FDFDFD; background-color: #FDFDFD;

View File

@@ -29,7 +29,13 @@
</div> </div>
<div class="container content"> <div class="container content">
<div class="row-fluid"> <div class="row-fluid">
<a href="https://github.com/paypal/PayPal-PHP-SDK/wiki" target="_blank"> <h2>// PayPal PHP SDK <a href="https://github.com/paypal/PayPal-PHP-SDK" title="Github Repository"><i class="fa fa-github"></i></a></h2><hr />
<p class="lead">
PayPal-PHP-SDK is our official Open-Source PHP SDK for supporting PayPal Rest APIs. Checkout all the supporting documents, samples, codebase from the following links
</p>
</div><br /><br />
<div class="row-fluid">
<a href="https://github.com/paypal/PayPal-PHP-SDK/wiki">
<div class="col-md-4"> <div class="col-md-4">
<div class="well clearfix"> <div class="well clearfix">
<div class="sprite"><i class="fa fa-book fa-4x"></i></div> <div class="sprite"><i class="fa fa-book fa-4x"></i></div>
@@ -54,13 +60,45 @@
<div class="col-md-4"> <div class="col-md-4">
<div class="well clearfix"> <div class="well clearfix">
<div class="sprite"><i class="fa fa-terminal fa-4x"></i></div> <div class="sprite"><i class="fa fa-terminal fa-4x"></i></div>
<div class="box"><h3>Sample Codes</h3> <div class="box"><h3>PHP Sample Code</h3>
<hr/> <hr/>
<p> Check out the sample code for using SDKs to call all PayPal APIs. </p></div> <p> Check out the sample code for using SDKs to call all PayPal APIs. </p></div>
</div> </div>
</div> </div>
</a> </a>
</div> </div>
<div class="row-fluid">
<a href="https://developer.paypal.com/webapps/developer/docs/api/">
<div class="col-md-4">
<div class="well clearfix">
<div class="sprite"><i class="fa fa-paypal fa-4x"></i></div>
<div class="box"><h3>PayPal API Reference</h3>
<hr/>
<p> Checkout the Official PayPal REST API Reference, explaining all API Models</p></div>
</div>
</div>
</a>
<a href="https://github.com/paypal/PayPal-PHP-SDK/releases">
<div class="col-md-4">
<div class="well clearfix">
<div class="sprite"><i class="fa fa-tags fa-4x"></i></div>
<div class="box"><h3>PHP SDK Releases</h3>
<hr/>
<p>Download the latest PHP SDK Release</p></div>
</div>
</div>
</a>
<a href="https://github.com/paypal/rest-api-sample-app-php">
<div class="col-md-4">
<div class="well clearfix">
<div class="sprite"><i class="fa fa-shopping-cart fa-4x"></i></div>
<div class="box"><h3>Sample Application</h3>
<hr/>
<p>Explore a Pizza Store developed using PayPal-PHP-SDK</p></div>
</div>
</div>
</a>
</div>
</div> </div>
</div> </div>
<footer class="footer"> <footer class="footer">
@@ -73,7 +111,7 @@
Github</a></li> Github</a></li>
<li> <li>
<a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i <a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i
class="fa fa-book"></i> REST API Reference</a> class="fa fa-book"></i> PayPal API Reference</a>
</li> </li>
<li> <li>
<a href="https://github.com/paypal/PayPal-PHP-SDK/issues" target="_blank"><i <a href="https://github.com/paypal/PayPal-PHP-SDK/issues" target="_blank"><i

View File

@@ -109,7 +109,7 @@
$( document ).ready(function() { $( document ).ready(function() {
$("#accordion .panel-collapse:last").collapse('toggle'); $("#accordion .panel-collapse:last").collapse('toggle');
$(document.body).append('<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>'); $(document.body).append('<footer class="footer"> <div class="container"> <div class="footer-div"> <ul class="footer-links"> <li> <a href="http://paypal.github.io/PayPal-PHP-SDK/" target="_blank"><i class="fa fa-github"></i> PayPal PHP SDK</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>');
$(".prettyprint").each(function() { $(".prettyprint").each(function() {

View File

@@ -191,9 +191,9 @@ if (PHP_SAPI == 'cli') {
<div class="footer-div"> <div class="footer-div">
<ul class="footer-links"> <ul class="footer-links">
<li> <li>
<a href="https://github.com/paypal/PayPal-PHP-SDK" target="_blank"><i <a href="http://paypal.github.io/PayPal-PHP-SDK/" target="_blank"><i
class="fa fa-github"></i> class="fa fa-github"></i>
Github</a></li> PayPal PHP SDK</a></li>
<li> <li>
<a href="https://developer.paypal.com/webapps/developer/docs/api/" <a href="https://developer.paypal.com/webapps/developer/docs/api/"
target="_blank"><i target="_blank"><i
@@ -1349,9 +1349,9 @@ if (PHP_SAPI == 'cli') {
<div class="footer-div"> <div class="footer-div">
<ul class="footer-links"> <ul class="footer-links">
<li> <li>
<a href="https://github.com/paypal/PayPal-PHP-SDK" target="_blank"><i <a href="http://paypal.github.io/PayPal-PHP-SDK/" target="_blank"><i
class="fa fa-github"></i> class="fa fa-github"></i>
Github</a></li> PayPal PHP SDK</a></li>
<li> <li>
<a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i <a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i
class="fa fa-book"></i> REST API Reference</a> class="fa fa-book"></i> REST API Reference</a>