doc:howto:gettingstarted
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:howto:gettingstarted [2010/05/19 14:23] – clarified anonymous/authenticated svn, and phd != configure.php, and misc philip | doc:howto:gettingstarted [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== What is needed ===== | + | This page has been removed, |
- | + | ||
- | ==== Subversion (SVN) ==== | + | |
- | + | ||
- | Since the documentation is stored | + | |
- | + | ||
- | == Windows == | + | |
- | + | ||
- | The most common is TortoiseSVN. Here are the steps to checkout the sources of the PHP manual using it: | + | |
- | * Download and install TortoiseSVN: | + | |
- | * Open a new explorer window and go to the folder you wish to do the checkout into | + | |
- | * Right click anywhere in the blank area to spawn the context menu, select "SVN Checkout..." | + | |
- | * A new window will popup asking for details about the checkout, these values will be remembered, so you will not need to enter them again | + | |
- | * Enter the following URL: " | + | |
- | + | ||
- | == Mac == | + | |
- | + | ||
- | The command-line works fine, download/ | + | |
- | + | ||
- | == Linux == | + | |
- | + | ||
- | The command-line works fine, download/ | + | |
- | ==== The source files ==== | + | |
- | + | ||
- | Using SVN, checkout the source files of the PHP manual. These are the files you will edit and commit, and anyone (no account is required) may checkout these files. For example, using the command-line: | + | |
- | + | ||
- | * svn checkout https://svn.php.net/repository/phpdoc/ | + | |
- | + | ||
- | That will use svn: | + | |
- | + | ||
- | * cd phpdoc | + | |
- | * vim en/ | + | |
- | * php doc-base/ | + | |
- | + | ||
- | In other words, this will create a directory named ' | + | |
- | + | ||
- | * svn checkout https:// | + | |
- | * cd phpdoc-de | + | |
- | * vim de/ | + | |
- | * php doc-base/ | + | |
- | + | ||
- | Note: The above can all be done anonymously, | + | |
- | + | ||
- | ==== PHP ==== | + | |
- | + | ||
- | You'll need a recent version of PHP. Since the build system requires PHP 5.3, you should probably install it. However, building the manual is optional as validation (ensuring XML changes are valid) is a separate process and will work with any version of PHP 5. | + | |
- | + | ||
- | ==== PhD ==== | + | |
- | + | ||
- | The build system that builds both the downloadable and online versions of the PHP manual. It also builds the PEAR manual, and several other DocBook 5 based documents. Installing PhD is optional, however it's recommended so you may see what your changes will look like. | + | |
- | + | ||
- | Note: doc-base/ | + | |
- | + | ||
- | ==== A text editor ==== | + | |
- | + | ||
- | Any will do, as XML is simply text. Most text editors provide syntax highlighting for XML files. | + | |
- | + | ||
- | Note: Please disable the ' | + |
doc/howto/gettingstarted.1274279037.txt.gz · Last modified: 2017/09/22 13:28 (external edit)