doc:howto:gettingstarted

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:howto:gettingstarted [2011/09/16 22:15] – [Joining the PHP Documentation team] rquadlingdoc:howto:gettingstarted [2013/04/28 10:31] – Display '--' properly. leszek
Line 55: Line 55:
 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 https://svn.php.net/repository/phpdoc/modules/doc-en phpdoc+  * ''svn checkout https://svn.php.net/repository/phpdoc/modules/doc-en phpdoc''
  
 That will use svn:externals to checkout both the doc-base and en/ modules, into a local directory named phpdoc. Then, after the above you might: That will use svn:externals to checkout both the doc-base and en/ modules, into a local directory named phpdoc. Then, after the above you might:
  
-  * cd phpdoc +  * ''cd phpdoc'' 
-  * vim en/preface.xml +  * ''vim en/preface.xml'' 
-  * php doc-base/configure.php+  * ''php doc-base/configure.php''
  
 In other words, this will create a directory named 'phpdoc' with a subdirectory 'en' that contains all of the English files. And a 'doc-base' directory with files used to validate/build/help the process. Now, a translator will instead do something like the following (to checkout German): In other words, this will create a directory named 'phpdoc' with a subdirectory 'en' that contains all of the English files. And a 'doc-base' directory with files used to validate/build/help the process. Now, a translator will instead do something like the following (to checkout German):
  
-  * svn checkout https://svn.php.net/repository/phpdoc/modules/doc-de phpdoc-de +  * ''svn checkout https://svn.php.net/repository/phpdoc/modules/doc-de phpdoc-de'' 
-  * cd phpdoc-de +  * ''cd phpdoc-de'' 
-  * vim de/preface.xml en/preface.xml +  * ''vim de/preface.xml en/preface.xml'' 
-  * php doc-base/configure.php --with-lang=de+  * ''php doc-base/configure.php %%--%%with-lang=de''
  
 Note: The above can all be done anonymously, therefore does not require a SVN account. Going through the above process is required before gaining SVN access, as is submitting a few patches to the [[communication|phpdoc mailing list]]. After doing so, people realize your're both sane and serious, [[http://php.net/svn-php|apply for SVN access]] and it will granted so you may commit changes to the PHP documentation yourself.  Note: The above can all be done anonymously, therefore does not require a SVN account. Going through the above process is required before gaining SVN access, as is submitting a few patches to the [[communication|phpdoc mailing list]]. After doing so, people realize your're both sane and serious, [[http://php.net/svn-php|apply for SVN access]] and it will granted so you may commit changes to the PHP documentation yourself. 
Line 86: Line 86:
 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 'remove ending whitespace' future of your text editor.+Note: Please disable the 'remove ending whitespace' feature of your text editor.
doc/howto/gettingstarted.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1