瀏覽代碼

Updating documentation for version 4

Jonny Wenmoth 10 年之前
父節點
當前提交
ce69f00a1e
共有 3 個文件被更改,包括 18 次插入4 次删除
  1. 7 2
      _site/4.0/index.html
  2. 7 2
      _site/index.html
  3. 4 0
      _version_4/1-introduction.md

+ 7 - 2
_site/4.0/index.html

@@ -193,7 +193,12 @@
 	<div class="col-sm-10">
       
 	  <div class="article_body">
-	  <p>PHP PhantomJS is a flexible PHP library to load pages through the PhantomJS headless browser and return the page response. It is handy for testing websites that demand javascript support and also supports screen captures and PDF output.</p>
+	  <blockquote>
+  <h4 id="important">Important</h4>
+  <p>Currently when installing PHP PhantomJS on <strong>Linux OS</strong> you will need to compile your own version of PhantomJS for your system. This is due to an <a href="https://github.com/ariya/phantomjs/issues/12948">unresolved issue</a> with the PhantomJS Linux packages. An Ubuntu compiled version will be installed by default but this may not be compatible with your system.</p>
+</blockquote>
+
+<p>PHP PhantomJS is a flexible PHP library to load pages through the PhantomJS headless browser and return the page response. It is handy for testing websites that demand javascript support and also supports screen captures and PDF output.</p>
 
 <h2 id="feature-list">Feature List</h2>
 
@@ -253,7 +258,7 @@ code etc.</li>
 <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/4.0/installation/">installation</a> documentation.</p>
 
 <blockquote>
-  <h4 id="important">Important</h4>
+  <h4 id="important-1">Important</h4>
   <p>By default the PhantomJS library will look for the PhantomJS executable in the bin folder relative to where your script is running <code>~/bin/phantomjs</code>. If the executable cannot be found or if the path to your PhantomJS executable differs from the default location, for example you have installed PhantomJS globally, you will need to define the path to your PhantomJS executable manually.</p>
 
   <p><code>$client-&gt;getEngine()-&gt;setPath('/path/to/phantomjs');</code></p>

+ 7 - 2
_site/index.html

@@ -195,7 +195,12 @@
 
   <div>
     
-    <p>PHP PhantomJS is a flexible PHP library to load pages through the PhantomJS headless browser and return the page response. It is handy for testing websites that demand javascript support and also supports screen captures and PDF output.</p>
+    <blockquote>
+  <h4 id="important">Important</h4>
+  <p>Currently when installing PHP PhantomJS on <strong>Linux OS</strong> you will need to compile your own version of PhantomJS for your system. This is due to an <a href="https://github.com/ariya/phantomjs/issues/12948">unresolved issue</a> with the PhantomJS Linux packages. An Ubuntu compiled version will be installed by default but this may not be compatible with your system.</p>
+</blockquote>
+
+<p>PHP PhantomJS is a flexible PHP library to load pages through the PhantomJS headless browser and return the page response. It is handy for testing websites that demand javascript support and also supports screen captures and PDF output.</p>
 
 <h2 id="feature-list">Feature List</h2>
 
@@ -255,7 +260,7 @@ code etc.</li>
 <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/4.0/installation/">installation</a> documentation.</p>
 
 <blockquote>
-  <h4 id="important">Important</h4>
+  <h4 id="important-1">Important</h4>
   <p>By default the PhantomJS library will look for the PhantomJS executable in the bin folder relative to where your script is running <code>~/bin/phantomjs</code>. If the executable cannot be found or if the path to your PhantomJS executable differs from the default location, for example you have installed PhantomJS globally, you will need to define the path to your PhantomJS executable manually.</p>
 
   <p><code>$client-&gt;getEngine()-&gt;setPath('/path/to/phantomjs');</code></p>

+ 4 - 0
_version_4/1-introduction.md

@@ -8,6 +8,10 @@ version: 4.0
 permalink: /4.0/
 ---
 
+> #### Important
+> Currently when installing PHP PhantomJS on **Linux OS** you will need to compile your own version of PhantomJS for your system. This is due to an [unresolved issue](https://github.com/ariya/phantomjs/issues/12948) with the PhantomJS Linux packages. An Ubuntu compiled version will be installed by default but this may not be compatible with your system.
+
+
 PHP PhantomJS is a flexible PHP library to load pages through the PhantomJS headless browser and return the page response. It is handy for testing websites that demand javascript support and also supports screen captures and PDF output.
 
 Feature List