Browse Source

Documentation update

Jonny Wenmoth 11 years ago
parent
commit
796d8c035b

+ 1 - 1
_posts/2014-07-26-usage.md

@@ -150,7 +150,7 @@ A standard response gives you access to the following interface:
 | isRedirect()        | Will return true if the response was a redirect or false otherwise.                       | Boolean        |
 | getConsole()        | Returns an array of any javascript errors on the requested page along with a stack trace. | Array          |
 
-If the response contains a status code of 0, chances are the request failed. Check the request [debug log](https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/debugging.rst) for more detailed information about what may have gone wrong.
+If the response contains a status code of 0, chances are the request failed. Check the request [debug log]({{ site.BASE_PATH }}/debugging.html) for more detailed information about what may have gone wrong.
 
 Screen Captures
 ---------------

+ 34 - 30
_posts/2014-07-27-installation.md

@@ -18,29 +18,29 @@ Install [Composer](https://getcomposer.org/) for your project:
 
 {% highlight bash %}
 
-        curl -s http://getcomposer.org/installer | php
+    curl -s http://getcomposer.org/installer | php
 {% endhighlight %}
 
 Create a `composer.json` file in the root of your project:
 
 {% highlight yaml %}
 
-        {
-            "require": {
-                "jonnyw/php-phantomjs": "3.*"
-            },
-            "config": {
-                "bin-dir": "bin"
-            },
-            "scripts": {
-                "post-install-cmd": [
-                    "PhantomInstaller\\Installer::installPhantomJS"
-                ],
-                "post-update-cmd": [
-                    "PhantomInstaller\\Installer::installPhantomJS"
-                ]
-            }
+    {
+        "require": {
+            "jonnyw/php-phantomjs": "3.*"
+        },
+        "config": {
+            "bin-dir": "bin"
+        },
+        "scripts": {
+            "post-install-cmd": [
+                "PhantomInstaller\\Installer::installPhantomJS"
+            ],
+            "post-update-cmd": [
+                "PhantomInstaller\\Installer::installPhantomJS"
+            ]
         }
+    }
 {% endhighlight %}
 
 It is important that you have the 'scripts' section shown above in your `composer.json` file as it will install the latest version of PhantomJS for your system to your project's bin folder. It is recommended that you create a bin folder in the root of your project as this is where the PHP PhantomJS library will look for your PhantomJS executable. If you would prefer to use a PhantomJS executable in a custom location, see the [Custom Installation](#custom-installation) section.
@@ -49,7 +49,7 @@ Finally, install the composer depedencies for your project:
 
 {% highlight bash %}
 
-        php composer.phar install
+    php composer.phar install
 {% endhighlight %}
 
 Custom Installation
@@ -58,22 +58,24 @@ Custom Installation
 If you would prefer to use a custom install location for the PhantomJS executable, you simply need to tell the client where to find the executable file:
 
 {% highlight php %}
+    
+    <?php
+    
+    use JonnyW\PhantomJs\Client;
 
-        use JonnyW\PhantomJs\Client;
-
-        $client = Client::getInstance();
-        $client->setPhantomJs('/path/to/phantomjs');
+    $client = Client::getInstance();
+    $client->setPhantomJs('/path/to/phantomjs');
 {% endhighlight %}
 
 If you would like composer to install the PhantomJS executable to a custom location when installing dependencies, set the bin dir location in your project's `composer.json` file:
 
 {% highlight yaml %}
 
-        {
-            "config": {
-                "bin-dir": "/path/to/your/projects/bin/dir"
-            }
+    {
+        "config": {
+            "bin-dir": "/path/to/your/projects/bin/dir"
         }
+    }
 {% endhighlight %}
 
 You will need to make sure that this directory exists and is writable by Composer before running the composer install.
@@ -82,17 +84,19 @@ Once you have updated your bin location run composer install to install PhantomJ
 
 {% highlight bash %}
 
-        php composer.phar install
+    php composer.phar install
 {% endhighlight %}
 
 This should install the correct PhantomJS executable for your system to the bin locaiton you defined in your `composer.json` file. As mentioned above, you will need to tell the client where to find your PhantomJS executable as it is not installed in the default location:
 
 {% highlight php %}
+        
+    <?php 
+    
+    use JonnyW\PhantomJs\Client;
 
-        use JonnyW\PhantomJs\Client;
-
-        $client = Client::getInstance();
-        $client->setPhantomJs('/path/to/phantomjs');
+    $client = Client::getInstance();
+    $client->setPhantomJs('/path/to/phantomjs');
 {% endhighlight %}
 
 Installing from tarball

+ 26 - 26
_site/404.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -186,9 +186,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 28 - 28
_site/advanced.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -146,10 +146,10 @@
 
 		<ul class="pager">
 		  
-		  <li class="previous"><a href="/debugging.html" title="Debugging">&larr; Debugging</a></li>
+		  <li class="previous"><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html" title="Debugging">&larr; Debugging</a></li>
 		  
 		  
-		  <li class="next"><a href="/usage.html" title="Usage">Usage &rarr;</a></li>
+		  <li class="next"><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html" title="Usage">Usage &rarr;</a></li>
 		  
 		</ul>
 
@@ -172,9 +172,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 28 - 28
_site/debugging.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -146,10 +146,10 @@
 
 		<ul class="pager">
 		  
-		  <li class="previous"><a href="/troubleshooting.html" title="Troubleshooting">&larr; Troubleshooting</a></li>
+		  <li class="previous"><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html" title="Troubleshooting">&larr; Troubleshooting</a></li>
 		  
 		  
-		  <li class="next"><a href="/advanced.html" title="Advanced Usage">Advanced Usage &rarr;</a></li>
+		  <li class="next"><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html" title="Advanced Usage">Advanced Usage &rarr;</a></li>
 		  
 		</ul>
 
@@ -172,9 +172,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 47 - 43
_site/feed.xml

@@ -3,8 +3,8 @@
 	<channel>
 		<title>PHP PhantomJs</title>
 		<description>Run PhantomJS scripts through PHP</description>
-		<link>/</link>
-		<atom:link href="/feed.xml" rel="self" type="application/rss+xml" />
+		<link>http://jonnnnyw.github.io/php-phantomjs/</link>
+		<atom:link href="http://jonnnnyw.github.io/php-phantomjs/feed.xml" rel="self" type="application/rss+xml" />
 		
 			<item>
 				<title>Introduction</title>
@@ -53,7 +53,7 @@ code etc.&lt;/li&gt;
 
 &lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;composer require &lt;span class=&quot;s2&quot;&gt;&amp;quot;jonnyw/php-phantomjs:3.*&amp;quot;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 
-&lt;p&gt;If you would like to use another installation method or would like to see more detailed installation instructions, see the &lt;a href=&quot;/installation.html&quot;&gt;installation&lt;/a&gt; documentation.&lt;/p&gt;
+&lt;p&gt;If you would like to use another installation method or would like to see more detailed installation instructions, see the &lt;a href=&quot;http://jonnnnyw.github.io/php-phantomjs/installation.html&quot;&gt;installation&lt;/a&gt; documentation.&lt;/p&gt;
 
 &lt;h2 id=&quot;basic-usage&quot;&gt;Basic Usage&lt;/h2&gt;
 
@@ -106,12 +106,12 @@ code etc.&lt;/li&gt;
     &lt;span class=&quot;c1&quot;&gt;// Send the request&lt;/span&gt;
     &lt;span class=&quot;nv&quot;&gt;$client&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;send&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$response&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 
-&lt;p&gt;For more detailed examples see the &lt;a href=&quot;/usage.html&quot;&gt;usage&lt;/a&gt; section, or to create your own custom scripts check out the &lt;a href=&quot;/advanced.html&quot;&gt;advanced&lt;/a&gt; documentation.&lt;/p&gt;
+&lt;p&gt;For more detailed examples see the &lt;a href=&quot;http://jonnnnyw.github.io/php-phantomjs/usage.html&quot;&gt;usage&lt;/a&gt; section, or to create your own custom scripts check out the &lt;a href=&quot;http://jonnnnyw.github.io/php-phantomjs/advanced.html&quot;&gt;advanced&lt;/a&gt; documentation.&lt;/p&gt;
 
 </description>
 				<pubDate>Mon, 28 Jul 2014 00:00:00 +0100</pubDate>
-				<link>/introduction.html</link>
-				<guid isPermaLink="true">/introduction.html</guid>
+				<link>http://jonnnnyw.github.io/php-phantomjs/introduction.html</link>
+				<guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/introduction.html</guid>
 			</item>
 		
 			<item>
@@ -129,21 +129,21 @@ code etc.&lt;/li&gt;
 &lt;p&gt;Create a &lt;code&gt;composer.json&lt;/code&gt; file in the root of your project:&lt;/p&gt;
 
 &lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-yaml&quot; data-lang=&quot;yaml&quot;&gt;&lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
-            &lt;span class=&quot;s&quot;&gt;&amp;quot;require&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
-                &lt;span class=&quot;s&quot;&gt;&amp;quot;jonnyw/php-phantomjs&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;3.*&amp;quot;&lt;/span&gt;
-            &lt;span class=&quot;p-Indicator&quot;&gt;},&lt;/span&gt;
-            &lt;span class=&quot;s&quot;&gt;&amp;quot;config&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
-                &lt;span class=&quot;s&quot;&gt;&amp;quot;bin-dir&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;bin&amp;quot;&lt;/span&gt;
-            &lt;span class=&quot;p-Indicator&quot;&gt;},&lt;/span&gt;
-            &lt;span class=&quot;s&quot;&gt;&amp;quot;scripts&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
-                &lt;span class=&quot;s&quot;&gt;&amp;quot;post-install-cmd&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;[&lt;/span&gt;
-                    &lt;span class=&quot;s&quot;&gt;&amp;quot;PhantomInstaller\\Installer::installPhantomJS&amp;quot;&lt;/span&gt;
-                &lt;span class=&quot;p-Indicator&quot;&gt;],&lt;/span&gt;
-                &lt;span class=&quot;s&quot;&gt;&amp;quot;post-update-cmd&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;[&lt;/span&gt;
-                    &lt;span class=&quot;s&quot;&gt;&amp;quot;PhantomInstaller\\Installer::installPhantomJS&amp;quot;&lt;/span&gt;
-                &lt;span class=&quot;p-Indicator&quot;&gt;]&lt;/span&gt;
-            &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;
-        &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
+        &lt;span class=&quot;s&quot;&gt;&amp;quot;require&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
+            &lt;span class=&quot;s&quot;&gt;&amp;quot;jonnyw/php-phantomjs&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;3.*&amp;quot;&lt;/span&gt;
+        &lt;span class=&quot;p-Indicator&quot;&gt;},&lt;/span&gt;
+        &lt;span class=&quot;s&quot;&gt;&amp;quot;config&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
+            &lt;span class=&quot;s&quot;&gt;&amp;quot;bin-dir&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;bin&amp;quot;&lt;/span&gt;
+        &lt;span class=&quot;p-Indicator&quot;&gt;},&lt;/span&gt;
+        &lt;span class=&quot;s&quot;&gt;&amp;quot;scripts&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
+            &lt;span class=&quot;s&quot;&gt;&amp;quot;post-install-cmd&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;[&lt;/span&gt;
+                &lt;span class=&quot;s&quot;&gt;&amp;quot;PhantomInstaller\\Installer::installPhantomJS&amp;quot;&lt;/span&gt;
+            &lt;span class=&quot;p-Indicator&quot;&gt;],&lt;/span&gt;
+            &lt;span class=&quot;s&quot;&gt;&amp;quot;post-update-cmd&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;[&lt;/span&gt;
+                &lt;span class=&quot;s&quot;&gt;&amp;quot;PhantomInstaller\\Installer::installPhantomJS&amp;quot;&lt;/span&gt;
+            &lt;span class=&quot;p-Indicator&quot;&gt;]&lt;/span&gt;
+        &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;
+    &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 
 &lt;p&gt;It is important that you have the ‘scripts’ section shown above in your &lt;code&gt;composer.json&lt;/code&gt; file as it will install the latest version of PhantomJS for your system to your project’s bin folder. It is recommended that you create a bin folder in the root of your project as this is where the PHP PhantomJS library will look for your PhantomJS executable. If you would prefer to use a PhantomJS executable in a custom location, see the &lt;a href=&quot;#custom-installation&quot;&gt;Custom Installation&lt;/a&gt; section.&lt;/p&gt;
 
@@ -155,18 +155,20 @@ code etc.&lt;/li&gt;
 
 &lt;p&gt;If you would prefer to use a custom install location for the PhantomJS executable, you simply need to tell the client where to find the executable file:&lt;/p&gt;
 
-&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-php&quot; data-lang=&quot;php&quot;&gt;&lt;span class=&quot;x&quot;&gt;use JonnyW\PhantomJs\Client;&lt;/span&gt;
+&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-php&quot; data-lang=&quot;php&quot;&gt;&lt;span class=&quot;cp&quot;&gt;&amp;lt;?php&lt;/span&gt;
+    
+    &lt;span class=&quot;k&quot;&gt;use&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JonnyW\PhantomJs\Client&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
 
-&lt;span class=&quot;x&quot;&gt;        $client = Client::getInstance();&lt;/span&gt;
-&lt;span class=&quot;x&quot;&gt;        $client-&amp;gt;setPhantomJs(&amp;#39;/path/to/phantomjs&amp;#39;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
+    &lt;span class=&quot;nv&quot;&gt;$client&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Client&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;getInstance&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
+    &lt;span class=&quot;nv&quot;&gt;$client&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;setPhantomJs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;#39;/path/to/phantomjs&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 
 &lt;p&gt;If you would like composer to install the PhantomJS executable to a custom location when installing dependencies, set the bin dir location in your project’s &lt;code&gt;composer.json&lt;/code&gt; file:&lt;/p&gt;
 
 &lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-yaml&quot; data-lang=&quot;yaml&quot;&gt;&lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
-            &lt;span class=&quot;s&quot;&gt;&amp;quot;config&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
-                &lt;span class=&quot;s&quot;&gt;&amp;quot;bin-dir&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;/path/to/your/projects/bin/dir&amp;quot;&lt;/span&gt;
-            &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;
-        &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
+        &lt;span class=&quot;s&quot;&gt;&amp;quot;config&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p-Indicator&quot;&gt;{&lt;/span&gt;
+            &lt;span class=&quot;s&quot;&gt;&amp;quot;bin-dir&amp;quot;&lt;/span&gt;&lt;span class=&quot;p-Indicator&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;/path/to/your/projects/bin/dir&amp;quot;&lt;/span&gt;
+        &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;
+    &lt;span class=&quot;p-Indicator&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 
 &lt;p&gt;You will need to make sure that this directory exists and is writable by Composer before running the composer install.&lt;/p&gt;
 
@@ -176,10 +178,12 @@ code etc.&lt;/li&gt;
 
 &lt;p&gt;This should install the correct PhantomJS executable for your system to the bin locaiton you defined in your &lt;code&gt;composer.json&lt;/code&gt; file. As mentioned above, you will need to tell the client where to find your PhantomJS executable as it is not installed in the default location:&lt;/p&gt;
 
-&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-php&quot; data-lang=&quot;php&quot;&gt;&lt;span class=&quot;x&quot;&gt;use JonnyW\PhantomJs\Client;&lt;/span&gt;
+&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-php&quot; data-lang=&quot;php&quot;&gt;&lt;span class=&quot;cp&quot;&gt;&amp;lt;?php&lt;/span&gt; 
+    
+    &lt;span class=&quot;k&quot;&gt;use&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JonnyW\PhantomJs\Client&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
 
-&lt;span class=&quot;x&quot;&gt;        $client = Client::getInstance();&lt;/span&gt;
-&lt;span class=&quot;x&quot;&gt;        $client-&amp;gt;setPhantomJs(&amp;#39;/path/to/phantomjs&amp;#39;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
+    &lt;span class=&quot;nv&quot;&gt;$client&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Client&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;getInstance&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
+    &lt;span class=&quot;nv&quot;&gt;$client&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;setPhantomJs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;#39;/path/to/phantomjs&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
 
 &lt;h2 id=&quot;installing-from-tarball&quot;&gt;Installing from tarball&lt;/h2&gt;
 
@@ -199,8 +203,8 @@ code etc.&lt;/li&gt;
 &lt;p&gt;Make sure the components are in your include path and that the PhantomJS executable is installed to your projects bin folder as mentioned in the &lt;a href=&quot;#custom-installation&quot;&gt;Custom Installation&lt;/a&gt; section.&lt;/p&gt;
 </description>
 				<pubDate>Sun, 27 Jul 2014 00:00:00 +0100</pubDate>
-				<link>/installation.html</link>
-				<guid isPermaLink="true">/installation.html</guid>
+				<link>http://jonnnnyw.github.io/php-phantomjs/installation.html</link>
+				<guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/installation.html</guid>
 			</item>
 		
 			<item>
@@ -218,7 +222,7 @@ code etc.&lt;/li&gt;
   &lt;li&gt;&lt;a href=&quot;#custom-run-options&quot;&gt;Custom Run Options&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 
-&lt;p&gt;For more advanced customization or to load your own PhantomJS scripts, see the &lt;a href=&quot;/advanced.html&quot;&gt;advanced&lt;/a&gt; documentation.&lt;/p&gt;
+&lt;p&gt;For more advanced customization or to load your own PhantomJS scripts, see the &lt;a href=&quot;http://jonnnnyw.github.io/php-phantomjs/advanced.html&quot;&gt;advanced&lt;/a&gt; documentation.&lt;/p&gt;
 
 &lt;h2 id=&quot;basic-request&quot;&gt;Basic Request&lt;/h2&gt;
 
@@ -379,7 +383,7 @@ code etc.&lt;/li&gt;
   &lt;/tbody&gt;
 &lt;/table&gt;
 
-&lt;p&gt;If the response contains a status code of 0, chances are the request failed. Check the request &lt;a href=&quot;https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/debugging.rst&quot;&gt;debug log&lt;/a&gt; for more detailed information about what may have gone wrong.&lt;/p&gt;
+&lt;p&gt;If the response contains a status code of 0, chances are the request failed. Check the request &lt;a href=&quot;http://jonnnnyw.github.io/php-phantomjs/debugging.html&quot;&gt;debug log&lt;/a&gt; for more detailed information about what may have gone wrong.&lt;/p&gt;
 
 &lt;h2 id=&quot;screen-captures&quot;&gt;Screen Captures&lt;/h2&gt;
 
@@ -499,8 +503,8 @@ code etc.&lt;/li&gt;
 &lt;p&gt;See the &lt;a href=&quot;http://phantomjs.org/api/command-line.html&quot;&gt;PhantomJS Documentation&lt;/a&gt; for a full list of command line options.&lt;/p&gt;
 </description>
 				<pubDate>Sat, 26 Jul 2014 00:00:00 +0100</pubDate>
-				<link>/usage.html</link>
-				<guid isPermaLink="true">/usage.html</guid>
+				<link>http://jonnnnyw.github.io/php-phantomjs/usage.html</link>
+				<guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/usage.html</guid>
 			</item>
 		
 			<item>
@@ -510,8 +514,8 @@ code etc.&lt;/li&gt;
 &lt;p&gt;In the meantime, check out the &lt;a href=&quot;https://github.com/jonnnnyw/php-phantomjs/tree/master/examples&quot;&gt;examples&lt;/a&gt; in the Github repo.&lt;/p&gt;
 </description>
 				<pubDate>Fri, 25 Jul 2014 00:00:00 +0100</pubDate>
-				<link>/advanced.html</link>
-				<guid isPermaLink="true">/advanced.html</guid>
+				<link>http://jonnnnyw.github.io/php-phantomjs/advanced.html</link>
+				<guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/advanced.html</guid>
 			</item>
 		
 			<item>
@@ -521,8 +525,8 @@ code etc.&lt;/li&gt;
 &lt;p&gt;In the meantime, check out the &lt;a href=&quot;https://github.com/jonnnnyw/php-phantomjs/tree/master/examples&quot;&gt;examples&lt;/a&gt; in the Github repo.&lt;/p&gt;
 </description>
 				<pubDate>Thu, 24 Jul 2014 00:00:00 +0100</pubDate>
-				<link>/debugging.html</link>
-				<guid isPermaLink="true">/debugging.html</guid>
+				<link>http://jonnnnyw.github.io/php-phantomjs/debugging.html</link>
+				<guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/debugging.html</guid>
 			</item>
 		
 			<item>
@@ -530,8 +534,8 @@ code etc.&lt;/li&gt;
 				<description>&lt;p&gt;This documentation page will be up in the next couple of days.&lt;/p&gt;
 </description>
 				<pubDate>Wed, 23 Jul 2014 00:00:00 +0100</pubDate>
-				<link>/troubleshooting.html</link>
-				<guid isPermaLink="true">/troubleshooting.html</guid>
+				<link>http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html</link>
+				<guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html</guid>
 			</item>
 		
 	</channel>

+ 29 - 29
_site/index.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -181,7 +181,7 @@ code etc.</li>
 
 <div class="highlight"><pre><code class="language-bash" data-lang="bash">composer require <span class="s2">&quot;jonnyw/php-phantomjs:3.*&quot;</span></code></pre></div>
 
-<p>If you would like to use another installation method or would like to see more detailed installation instructions, see the <a href="/installation.html">installation</a> documentation.</p>
+<p>If you would like to use another installation method or would like to see more detailed installation instructions, see the <a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">installation</a> documentation.</p>
 
 <h2 id="basic-usage">Basic Usage</h2>
 
@@ -234,7 +234,7 @@ code etc.</li>
     <span class="c1">// Send the request</span>
     <span class="nv">$client</span><span class="o">-&gt;</span><span class="na">send</span><span class="p">(</span><span class="nv">$request</span><span class="p">,</span> <span class="nv">$response</span><span class="p">);</span></code></pre></div>
 
-<p>For more detailed examples see the <a href="/usage.html">usage</a> section, or to create your own custom scripts check out the <a href="/advanced.html">advanced</a> documentation.</p>
+<p>For more detailed examples see the <a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">usage</a> section, or to create your own custom scripts check out the <a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">advanced</a> documentation.</p>
 
 
     
@@ -250,7 +250,7 @@ code etc.</li>
 
   
   <li class="next">
-    <a href="/page2">Next &rarr;</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page2">Next &rarr;</a>
   </li>
   
 
@@ -266,9 +266,9 @@ code etc.</li>
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 57 - 53
_site/installation.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -147,21 +147,21 @@
 <p>Create a <code>composer.json</code> file in the root of your project:</p>
 
 <div class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="p-Indicator">{</span>
-            <span class="s">&quot;require&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;jonnyw/php-phantomjs&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;3.*&quot;</span>
-            <span class="p-Indicator">},</span>
-            <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;bin&quot;</span>
-            <span class="p-Indicator">},</span>
-            <span class="s">&quot;scripts&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;post-install-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
-                    <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
-                <span class="p-Indicator">],</span>
-                <span class="s">&quot;post-update-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
-                    <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
-                <span class="p-Indicator">]</span>
-            <span class="p-Indicator">}</span>
-        <span class="p-Indicator">}</span></code></pre></div>
+        <span class="s">&quot;require&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;jonnyw/php-phantomjs&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;3.*&quot;</span>
+        <span class="p-Indicator">},</span>
+        <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;bin&quot;</span>
+        <span class="p-Indicator">},</span>
+        <span class="s">&quot;scripts&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;post-install-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
+                <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
+            <span class="p-Indicator">],</span>
+            <span class="s">&quot;post-update-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
+                <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
+            <span class="p-Indicator">]</span>
+        <span class="p-Indicator">}</span>
+    <span class="p-Indicator">}</span></code></pre></div>
 
 <p>It is important that you have the ‘scripts’ section shown above in your <code>composer.json</code> file as it will install the latest version of PhantomJS for your system to your project’s bin folder. It is recommended that you create a bin folder in the root of your project as this is where the PHP PhantomJS library will look for your PhantomJS executable. If you would prefer to use a PhantomJS executable in a custom location, see the <a href="#custom-installation">Custom Installation</a> section.</p>
 
@@ -173,18 +173,20 @@
 
 <p>If you would prefer to use a custom install location for the PhantomJS executable, you simply need to tell the client where to find the executable file:</p>
 
-<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="x">use JonnyW\PhantomJs\Client;</span>
+<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span>
+    
+    <span class="k">use</span> <span class="nx">JonnyW\PhantomJs\Client</span><span class="p">;</span>
 
-<span class="x">        $client = Client::getInstance();</span>
-<span class="x">        $client-&gt;setPhantomJs(&#39;/path/to/phantomjs&#39;);</span></code></pre></div>
+    <span class="nv">$client</span> <span class="o">=</span> <span class="nx">Client</span><span class="o">::</span><span class="na">getInstance</span><span class="p">();</span>
+    <span class="nv">$client</span><span class="o">-&gt;</span><span class="na">setPhantomJs</span><span class="p">(</span><span class="s1">&#39;/path/to/phantomjs&#39;</span><span class="p">);</span></code></pre></div>
 
 <p>If you would like composer to install the PhantomJS executable to a custom location when installing dependencies, set the bin dir location in your project’s <code>composer.json</code> file:</p>
 
 <div class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="p-Indicator">{</span>
-            <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;/path/to/your/projects/bin/dir&quot;</span>
-            <span class="p-Indicator">}</span>
-        <span class="p-Indicator">}</span></code></pre></div>
+        <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;/path/to/your/projects/bin/dir&quot;</span>
+        <span class="p-Indicator">}</span>
+    <span class="p-Indicator">}</span></code></pre></div>
 
 <p>You will need to make sure that this directory exists and is writable by Composer before running the composer install.</p>
 
@@ -194,10 +196,12 @@
 
 <p>This should install the correct PhantomJS executable for your system to the bin locaiton you defined in your <code>composer.json</code> file. As mentioned above, you will need to tell the client where to find your PhantomJS executable as it is not installed in the default location:</p>
 
-<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="x">use JonnyW\PhantomJs\Client;</span>
+<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span> 
+    
+    <span class="k">use</span> <span class="nx">JonnyW\PhantomJs\Client</span><span class="p">;</span>
 
-<span class="x">        $client = Client::getInstance();</span>
-<span class="x">        $client-&gt;setPhantomJs(&#39;/path/to/phantomjs&#39;);</span></code></pre></div>
+    <span class="nv">$client</span> <span class="o">=</span> <span class="nx">Client</span><span class="o">::</span><span class="na">getInstance</span><span class="p">();</span>
+    <span class="nv">$client</span><span class="o">-&gt;</span><span class="na">setPhantomJs</span><span class="p">(</span><span class="s1">&#39;/path/to/phantomjs&#39;</span><span class="p">);</span></code></pre></div>
 
 <h2 id="installing-from-tarball">Installing from tarball</h2>
 
@@ -224,10 +228,10 @@
 
 		<ul class="pager">
 		  
-		  <li class="previous"><a href="/usage.html" title="Usage">&larr; Usage</a></li>
+		  <li class="previous"><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html" title="Usage">&larr; Usage</a></li>
 		  
 		  
-		  <li class="next"><a href="/introduction.html" title="Introduction">Introduction &rarr;</a></li>
+		  <li class="next"><a href="http://jonnnnyw.github.io/php-phantomjs/introduction.html" title="Introduction">Introduction &rarr;</a></li>
 		  
 		</ul>
 
@@ -250,9 +254,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 29 - 29
_site/introduction.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -179,7 +179,7 @@ code etc.</li>
 
 <div class="highlight"><pre><code class="language-bash" data-lang="bash">composer require <span class="s2">&quot;jonnyw/php-phantomjs:3.*&quot;</span></code></pre></div>
 
-<p>If you would like to use another installation method or would like to see more detailed installation instructions, see the <a href="/installation.html">installation</a> documentation.</p>
+<p>If you would like to use another installation method or would like to see more detailed installation instructions, see the <a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">installation</a> documentation.</p>
 
 <h2 id="basic-usage">Basic Usage</h2>
 
@@ -232,7 +232,7 @@ code etc.</li>
     <span class="c1">// Send the request</span>
     <span class="nv">$client</span><span class="o">-&gt;</span><span class="na">send</span><span class="p">(</span><span class="nv">$request</span><span class="p">,</span> <span class="nv">$response</span><span class="p">);</span></code></pre></div>
 
-<p>For more detailed examples see the <a href="/usage.html">usage</a> section, or to create your own custom scripts check out the <a href="/advanced.html">advanced</a> documentation.</p>
+<p>For more detailed examples see the <a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">usage</a> section, or to create your own custom scripts check out the <a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">advanced</a> documentation.</p>
 
 
 	  </div>
@@ -243,7 +243,7 @@ code etc.</li>
 
 		<ul class="pager">
 		  
-		  <li class="previous"><a href="/installation.html" title="Installation">&larr; Installation</a></li>
+		  <li class="previous"><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html" title="Installation">&larr; Installation</a></li>
 		  
 		  
 		</ul>
@@ -267,9 +267,9 @@ code etc.</li>
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 57 - 53
_site/page2/index.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -149,21 +149,21 @@
 <p>Create a <code>composer.json</code> file in the root of your project:</p>
 
 <div class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="p-Indicator">{</span>
-            <span class="s">&quot;require&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;jonnyw/php-phantomjs&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;3.*&quot;</span>
-            <span class="p-Indicator">},</span>
-            <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;bin&quot;</span>
-            <span class="p-Indicator">},</span>
-            <span class="s">&quot;scripts&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;post-install-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
-                    <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
-                <span class="p-Indicator">],</span>
-                <span class="s">&quot;post-update-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
-                    <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
-                <span class="p-Indicator">]</span>
-            <span class="p-Indicator">}</span>
-        <span class="p-Indicator">}</span></code></pre></div>
+        <span class="s">&quot;require&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;jonnyw/php-phantomjs&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;3.*&quot;</span>
+        <span class="p-Indicator">},</span>
+        <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;bin&quot;</span>
+        <span class="p-Indicator">},</span>
+        <span class="s">&quot;scripts&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;post-install-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
+                <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
+            <span class="p-Indicator">],</span>
+            <span class="s">&quot;post-update-cmd&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">[</span>
+                <span class="s">&quot;PhantomInstaller\\Installer::installPhantomJS&quot;</span>
+            <span class="p-Indicator">]</span>
+        <span class="p-Indicator">}</span>
+    <span class="p-Indicator">}</span></code></pre></div>
 
 <p>It is important that you have the ‘scripts’ section shown above in your <code>composer.json</code> file as it will install the latest version of PhantomJS for your system to your project’s bin folder. It is recommended that you create a bin folder in the root of your project as this is where the PHP PhantomJS library will look for your PhantomJS executable. If you would prefer to use a PhantomJS executable in a custom location, see the <a href="#custom-installation">Custom Installation</a> section.</p>
 
@@ -175,18 +175,20 @@
 
 <p>If you would prefer to use a custom install location for the PhantomJS executable, you simply need to tell the client where to find the executable file:</p>
 
-<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="x">use JonnyW\PhantomJs\Client;</span>
+<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span>
+    
+    <span class="k">use</span> <span class="nx">JonnyW\PhantomJs\Client</span><span class="p">;</span>
 
-<span class="x">        $client = Client::getInstance();</span>
-<span class="x">        $client-&gt;setPhantomJs(&#39;/path/to/phantomjs&#39;);</span></code></pre></div>
+    <span class="nv">$client</span> <span class="o">=</span> <span class="nx">Client</span><span class="o">::</span><span class="na">getInstance</span><span class="p">();</span>
+    <span class="nv">$client</span><span class="o">-&gt;</span><span class="na">setPhantomJs</span><span class="p">(</span><span class="s1">&#39;/path/to/phantomjs&#39;</span><span class="p">);</span></code></pre></div>
 
 <p>If you would like composer to install the PhantomJS executable to a custom location when installing dependencies, set the bin dir location in your project’s <code>composer.json</code> file:</p>
 
 <div class="highlight"><pre><code class="language-yaml" data-lang="yaml"><span class="p-Indicator">{</span>
-            <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
-                <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;/path/to/your/projects/bin/dir&quot;</span>
-            <span class="p-Indicator">}</span>
-        <span class="p-Indicator">}</span></code></pre></div>
+        <span class="s">&quot;config&quot;</span><span class="p-Indicator">:</span> <span class="p-Indicator">{</span>
+            <span class="s">&quot;bin-dir&quot;</span><span class="p-Indicator">:</span> <span class="s">&quot;/path/to/your/projects/bin/dir&quot;</span>
+        <span class="p-Indicator">}</span>
+    <span class="p-Indicator">}</span></code></pre></div>
 
 <p>You will need to make sure that this directory exists and is writable by Composer before running the composer install.</p>
 
@@ -196,10 +198,12 @@
 
 <p>This should install the correct PhantomJS executable for your system to the bin locaiton you defined in your <code>composer.json</code> file. As mentioned above, you will need to tell the client where to find your PhantomJS executable as it is not installed in the default location:</p>
 
-<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="x">use JonnyW\PhantomJs\Client;</span>
+<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span> 
+    
+    <span class="k">use</span> <span class="nx">JonnyW\PhantomJs\Client</span><span class="p">;</span>
 
-<span class="x">        $client = Client::getInstance();</span>
-<span class="x">        $client-&gt;setPhantomJs(&#39;/path/to/phantomjs&#39;);</span></code></pre></div>
+    <span class="nv">$client</span> <span class="o">=</span> <span class="nx">Client</span><span class="o">::</span><span class="na">getInstance</span><span class="p">();</span>
+    <span class="nv">$client</span><span class="o">-&gt;</span><span class="na">setPhantomJs</span><span class="p">(</span><span class="s1">&#39;/path/to/phantomjs&#39;</span><span class="p">);</span></code></pre></div>
 
 <h2 id="installing-from-tarball">Installing from tarball</h2>
 
@@ -230,14 +234,14 @@
   
   <li class="previous">
     
-    <a href="/">&larr; Previous</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/">&larr; Previous</a>
     
   </li>
   
 
   
   <li class="next">
-    <a href="/page3">Next &rarr;</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page3">Next &rarr;</a>
   </li>
   
 
@@ -253,9 +257,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 30 - 30
_site/page3/index.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -149,7 +149,7 @@
   <li><a href="#custom-run-options">Custom Run Options</a></li>
 </ul>
 
-<p>For more advanced customization or to load your own PhantomJS scripts, see the <a href="/advanced.html">advanced</a> documentation.</p>
+<p>For more advanced customization or to load your own PhantomJS scripts, see the <a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">advanced</a> documentation.</p>
 
 <h2 id="basic-request">Basic Request</h2>
 
@@ -310,7 +310,7 @@
   </tbody>
 </table>
 
-<p>If the response contains a status code of 0, chances are the request failed. Check the request <a href="https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/debugging.rst">debug log</a> for more detailed information about what may have gone wrong.</p>
+<p>If the response contains a status code of 0, chances are the request failed. Check the request <a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">debug log</a> for more detailed information about what may have gone wrong.</p>
 
 <h2 id="screen-captures">Screen Captures</h2>
 
@@ -441,14 +441,14 @@
   
   <li class="previous">
     
-    <a href="/page2">&larr; Previous</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page2">&larr; Previous</a>
     
   </li>
   
 
   
   <li class="next">
-    <a href="/page4">Next &rarr;</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page4">Next &rarr;</a>
   </li>
   
 
@@ -464,9 +464,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 28 - 28
_site/page4/index.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -152,14 +152,14 @@
   
   <li class="previous">
     
-    <a href="/page3">&larr; Previous</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page3">&larr; Previous</a>
     
   </li>
   
 
   
   <li class="next">
-    <a href="/page5">Next &rarr;</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page5">Next &rarr;</a>
   </li>
   
 
@@ -175,9 +175,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 28 - 28
_site/page5/index.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -152,14 +152,14 @@
   
   <li class="previous">
     
-    <a href="/page4">&larr; Previous</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page4">&larr; Previous</a>
     
   </li>
   
 
   
   <li class="next">
-    <a href="/page6">Next &rarr;</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page6">Next &rarr;</a>
   </li>
   
 
@@ -175,9 +175,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 27 - 27
_site/page6/index.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -150,7 +150,7 @@
   
   <li class="previous">
     
-    <a href="/page5">&larr; Previous</a>
+    <a href="http://jonnnnyw.github.io/php-phantomjs/page5">&larr; Previous</a>
     
   </li>
   
@@ -169,9 +169,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 27 - 27
_site/troubleshooting.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -145,7 +145,7 @@
 		<ul class="pager">
 		  
 		  
-		  <li class="next"><a href="/debugging.html" title="Debugging">Debugging &rarr;</a></li>
+		  <li class="next"><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html" title="Debugging">Debugging &rarr;</a></li>
 		  
 		</ul>
 
@@ -168,9 +168,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>
 

+ 30 - 30
_site/usage.html

@@ -15,10 +15,10 @@
 	<![endif]-->
 
 	<!-- Le styles -->
-	<link href="/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-	<link href="/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
-	<link href="/assets/resources/syntax/syntax.css" rel="stylesheet">
-	<link href="/assets/css/style.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/resources/syntax/syntax.css" rel="stylesheet">
+	<link href="http://jonnnnyw.github.io/php-phantomjs/assets/css/style.css" rel="stylesheet">
 
 	<!-- Le fav and touch icons -->
 	<!-- Update these with your own images
@@ -28,7 +28,7 @@
 	<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
 	-->
 
-	<link rel="alternate" type="application/rss+xml" title="" href="/feed.xml">
+	<link rel="alternate" type="application/rss+xml" title="" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 </head>
 
 <body>
@@ -49,8 +49,8 @@
 			
 			-->
 			
-			<a class="navbar-brand" href="/">
-				<img src="/assets/media/phantomjs-small.png" class="img-circle" />
+			<a class="navbar-brand" href="http://jonnnnyw.github.io/php-phantomjs/">
+				<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs-small.png" class="img-circle" />
 				PHP PhantomJs
 			</a>
 		</div>
@@ -58,12 +58,12 @@
 		<!-- Collect the nav links, forms, and other content for toggling -->
 		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 			<ul class="nav navbar-nav">
-				<li class="active"><a href="/">Home</a></li>
-				<li><a href="/installation.html">Installation</a></li>
-				<li><a href="/usage.html">Usage</a></li>
-				<li><a href="/advanced.html">Advanced</a></li>
-				<li><a href="/debugging.html">Debugging</a></li>
-				<li><a href="/troubleshooting.html">Troubleshooting</a></li>
+				<li class="active"><a href="http://jonnnnyw.github.io/php-phantomjs/">Home</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">Installation</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">Usage</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">Advanced</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">Debugging</a></li>
+				<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html">Troubleshooting</a></li>
 			</ul>
 		</div><!-- /.navbar-collapse -->
 	</nav>
@@ -74,12 +74,12 @@
 			<i class="fa fa-bars"></i>
 		</button>
 		<ul class="dropdown-menu" role="menu">
-		    <li><a href="/"><i class="fa fa-home"></i>Home</a></li>
-			<li><a href="/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
-			<li><a href="/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
-			<li><a href="/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
-			<li><a href="/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
-			<li><a href="/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
+		    <li><a href="http://jonnnnyw.github.io/php-phantomjs/"><i class="fa fa-home"></i>Home</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html"><i class="fa fa-folder"></i>Installation</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/usage.html"><i class="fa fa-folder"></i>Usage</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html"><i class="fa fa-folder"></i>Advanced</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html"><i class="fa fa-folder"></i>Debugging</a></li>
+			<li><a href="http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html"><i class="fa fa-folder"></i>Troubleshooting</a></li>
 			<li class="divider"></li>
 			<li><a href="#"><i class="fa fa-arrow-up"></i>Top of Page</a></li>
 		</ul>
@@ -88,11 +88,11 @@
 	<div class="col-sm-3 sidebar hidden-xs">
 		<! -- sidebar.html -->
 <header class="sidebar-header" role="banner">
-	<a href="/">
-		<img src="/assets/media/phantomjs.png" class="img-circle" />
+	<a href="http://jonnnnyw.github.io/php-phantomjs/">
+		<img src="http://jonnnnyw.github.io/php-phantomjs/assets/media/phantomjs.png" class="img-circle" />
 	</a>
 	<h3 class="title">
-        <a href="/">PHP PhantomJs</a>
+        <a href="http://jonnnnyw.github.io/php-phantomjs/">PHP PhantomJs</a>
     </h3>
 </header>
 
@@ -113,7 +113,7 @@
 		
 		
 		<li>
-			<a class="btn btn-default btn-sm" href="/feed.xml">
+			<a class="btn btn-default btn-sm" href="http://jonnnnyw.github.io/php-phantomjs/feed.xml">
 				<i class="fa fa-rss fa-lg"></i>
 			</a>
 		</li>
@@ -147,7 +147,7 @@
   <li><a href="#custom-run-options">Custom Run Options</a></li>
 </ul>
 
-<p>For more advanced customization or to load your own PhantomJS scripts, see the <a href="/advanced.html">advanced</a> documentation.</p>
+<p>For more advanced customization or to load your own PhantomJS scripts, see the <a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">advanced</a> documentation.</p>
 
 <h2 id="basic-request">Basic Request</h2>
 
@@ -308,7 +308,7 @@
   </tbody>
 </table>
 
-<p>If the response contains a status code of 0, chances are the request failed. Check the request <a href="https://github.com/jonnnnyw/php-phantomjs/blob/master/doc/debugging.rst">debug log</a> for more detailed information about what may have gone wrong.</p>
+<p>If the response contains a status code of 0, chances are the request failed. Check the request <a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">debug log</a> for more detailed information about what may have gone wrong.</p>
 
 <h2 id="screen-captures">Screen Captures</h2>
 
@@ -435,10 +435,10 @@
 
 		<ul class="pager">
 		  
-		  <li class="previous"><a href="/advanced.html" title="Advanced Usage">&larr; Advanced Usage</a></li>
+		  <li class="previous"><a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html" title="Advanced Usage">&larr; Advanced Usage</a></li>
 		  
 		  
-		  <li class="next"><a href="/installation.html" title="Installation">Installation &rarr;</a></li>
+		  <li class="next"><a href="http://jonnnnyw.github.io/php-phantomjs/installation.html" title="Installation">Installation &rarr;</a></li>
 		  
 		</ul>
 
@@ -461,9 +461,9 @@
 		</footer>
 	</div>
 
-	<script type="text/javascript" src="/assets/resources/jquery/jquery.min.js"></script>
-	<script type="text/javascript" src="/assets/resources/bootstrap/js/bootstrap.min.js"></script>
-	<script type="text/javascript" src="/assets/js/app.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/jquery/jquery.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/resources/bootstrap/js/bootstrap.min.js"></script>
+	<script type="text/javascript" src="http://jonnnnyw.github.io/php-phantomjs/assets/js/app.js"></script>
 </body>
 </html>