doc:articles:localdocsetup
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
doc:articles:localdocsetup [2011/06/04 22:24] – initial _rough_ (seriously) draft philip | doc:articles:localdocsetup [2011/06/14 05:55] – [Use PhD to build the documentation] typo philip | ||
---|---|---|---|
Line 8: | Line 8: | ||
* A basic level of shell/ | * A basic level of shell/ | ||
* A desire to build and display the documentation locally | * A desire to build and display the documentation locally | ||
- | * Your PHP Documentation path will be: **/ | + | * Your PHP Documentation path will be: **/ |
- | * Your local mirror path will be: **/ | + | * Your local mirror path will be: **/ |
- | * Your local hostname will be: **http:// | + | * Your local hostname will be: **http:// |
* You are using Linux or a Mac (@todo Make this guide Windows friendly) | * You are using Linux or a Mac (@todo Make this guide Windows friendly) | ||
- | If you're interested in simply setting up a local PHP mirror (and NOT build the documentation) then simply follow the php.net mirroring guidelines and ignore this document. | + | If you're interested in simply setting up a local PHP mirror (and NOT build the documentation) then simply follow the [[http:// |
===== Checkout the php documentation from SVN ===== | ===== Checkout the php documentation from SVN ===== | ||
Line 23: | Line 23: | ||
$ mkdir /tmp/svn | $ mkdir /tmp/svn | ||
$ cd /tmp/svn | $ cd /tmp/svn | ||
- | $ svn co http:// | + | $ svn co https:// |
$ cd / | $ cd / | ||
</ | </ | ||
Line 29: | Line 29: | ||
<code shell> | <code shell> | ||
$ cd /tmp | $ cd /tmp | ||
- | $ wget http:// | + | $ wget https:// |
$ php create-phpdoc-setup.php -h | $ php create-phpdoc-setup.php -h | ||
$ php create-phpdoc-setup.php -b /tmp/svn -l en | $ php create-phpdoc-setup.php -b /tmp/svn -l en | ||
Line 67: | Line 67: | ||
Note: This builds the php.net version of the documentation, | Note: This builds the php.net version of the documentation, | ||
- | | + | |
<code shell> | <code shell> | ||
+ | $ cd / | ||
$ phd --docbook / | $ phd --docbook / | ||
$ cd / | $ cd / | ||
- | $ open strlen.html | + | $ open function.strlen.html |
</ | </ | ||
===== Setup a local php.net mirror ===== | ===== Setup a local php.net mirror ===== | ||
Line 139: | Line 140: | ||
===== View the new site ===== | ===== View the new site ===== | ||
- | * http://mydocs.site/ | + | * http://myphp.site/ |
doc/articles/localdocsetup.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1