doc:howto:gettingstarted
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:howto:gettingstarted [2010/01/08 21:11] – external edit 127.0.0.1 | doc:howto:gettingstarted [2013/04/28 10:31] – Display '--' properly. leszek | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== What is needed ===== | ===== What is needed ===== | ||
+ | |||
+ | ==== Joining the PHP Documentation team ==== | ||
+ | |||
+ | Joining the PHP Documentation team is a simple process, but a process nonetheless. It can be summarized as: | ||
+ | |||
+ | == Write the mailing list == | ||
+ | |||
+ | Because official communication is done there, you should [[doc/ | ||
+ | |||
+ | == Create a doc patch or three == | ||
+ | |||
+ | This shows a few things: | ||
+ | |||
+ | * That you really do intend to do some work | ||
+ | * That you're a real human | ||
+ | * That you know, for the most part, what you're doing | ||
+ | |||
+ | This HOWTO covers how to do this (checkout from SVN, edit, svn diff foo > doc.patch) but ultimately you must do it. We're all in the same boat here, so please jump on board! | ||
+ | |||
+ | Or, another (and simpler) way to get started is by using the [[https:// | ||
+ | |||
+ | == Talk about the patch == | ||
+ | |||
+ | So now that you've showed initiative enough to actually setup the documentation toolchain, make edits, and create a nice looking patch (or three), it's time to let people know about it. Post it to the mailing list. People will offer feedback and advice, and do remember that we all make mistakes so don't be afraid. The most common mistakes involve whitespace issues so watch that whitespace! :) | ||
+ | |||
+ | == Gain commit access == | ||
+ | |||
+ | After talking about the patch, you'll be asked to request a SVN account and soon thereafter it'll be approved with PHP documentation karma granted. In other words, commit your own patches! PHP peer review happens after commits are made, and most committers receive emails regarding each commit and have a look. Essentially, | ||
==== Subversion (SVN) ==== | ==== Subversion (SVN) ==== | ||
Line 12: | Line 40: | ||
* Right click anywhere in the blank area to spawn the context menu, select "SVN Checkout..." | * 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 | * 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: "http:// | + | * Enter the following URL: "https:// |
- | * When the checkout is complete, then it should have created a directory called " | + | |
== Mac == | == Mac == | ||
Line 23: | Line 50: | ||
The command-line works fine, download/ | The command-line works fine, download/ | ||
==== The source files ==== | ==== The source files ==== | ||
+ | |||
+ | //Note:// There are two ways. Everyone should have a local checkout, but the [[https:// | ||
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: | 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 | + | * '' |
That will use svn: | That will use svn: | ||
- | * cd phpdoc | + | * '' |
- | * vim en/ | + | * '' |
+ | * '' | ||
- | In other words, this will create a directory named ' | + | In other words, this will create a directory named ' |
- | * svn checkout | + | * '' |
- | * cd phpdoc-de | + | * '' |
- | * vim de/ | + | * '' |
+ | * '' | ||
+ | |||
+ | Note: The above can all be done anonymously, | ||
==== PHP ==== | ==== PHP ==== | ||
Line 46: | Line 79: | ||
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. | 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 ==== | ==== A text editor ==== | ||
Any will do, as XML is simply text. Most text editors provide syntax highlighting for XML files. | Any will do, as XML is simply text. Most text editors provide syntax highlighting for XML files. | ||
+ | |||
+ | Note: Please disable the ' |
doc/howto/gettingstarted.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1