svn: /phd/trunk/ README phpdotnet/phd/Package/PHP/README

From: Date: Fri, 04 Sep 2009 15:29:03 +0000
Subject: svn: /phd/trunk/ README phpdotnet/phd/Package/PHP/README
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4845@lists.php.net to get a copy of this message
bjori Fri, 04 Sep 2009 15:29:03 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288056 Log: Move php.net specific info into the PHP package Changed paths: U phd/trunk/README A phd/trunk/phpdotnet/phd/Package/PHP/README Modified: phd/trunk/README =================================================================== --- phd/trunk/README 2009-09-04 15:27:21 UTC (rev 288055) +++ phd/trunk/README 2009-09-04 15:29:03 UTC (rev 288056) @@ -1,68 +1,26 @@ PhD - PHP DocBook Copyright(c) 2007-2009 The PHP Documentation Team -All Rights Reserved. $Revision$ -At the moment, the code depends upon the following: - - PHP 5.3 - - DOM, libXML2, and XMLReader. Installing the PhD renderer: From a PEAR channel: pear install doc.php.net/phd-beta - Note: You'll have to "discover" the channel first: - pear channel-discover doc.php.net - This command only needs to be executed once From SVN: svn checkout http://svn.php.net/repository/phd/trunk phd cd phd pear install -f package.xml +Requirements: + - PHP 5.3 + - DOM, libXML2, and XMLReader. + After installing PhD you can use the phd command -to render the documentations. By default phd will use the current working -directory. +to render the documentations. To see a list of available packages/formats +use the phd -l command. By default phd use ./output for the rendered files. - -Rendering the documentations for the first time: - WINDOWS: - #1) cd c:\ - #2) svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en - #3) cd doc-en\doc-base - #4) php configure.php - #5) phd --docbook c:\doc-en\doc-base\.manual.xml - - *NIX: - #1) cd ~ - #2) svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en - #3) cd doc-en/doc-base - #4) php configure.php - #5) phd --docbook ~/doc-en/doc-base/.manual.xml - - -This will create - "php" directory containing the "phpweb" files - NOTE: You CANNOT view these files without a phpweb mirror running. - See http://doc.php.net/wiki/phd/view#viewing_the_phpfolder - "html" directory containing the "downloadable chunked html" files - NOTE: Do NOT move these files onto your webserver. Just double click - them and your browser will open and show you the content - "bightml.html" file, which is the "downloadable bightml" file - -Now edit the XML files as you wish in the doc-en/en directory. -To build the documentation again follow the instructions above, skipping step#2. - -NOTE: To work on translations, you should replace the 'en' in all -of the above examples with the appropriate ISO 639-1 Code of the desired language. -(see http://www.sil.org/iso639-3/codes.asp for a list of codes) -e.g. 'pt' for Portuguese, or pt_BR for Brazillian Portuguese. Step two in the -example above would change to: - svn checkout http://svn.php.net/repository/phpdoc/modules/doc-pt -or - svn checkout http://svn.php.net/repository/phpdoc/modules/doc-pt_BR -The XML files to edit will be in doc-pt/pt or doc-pt_BR/pt_BR directories. - The phd command optionally takes more arguments. For information about those arguments please type phd -h Added: phd/trunk/phpdotnet/phd/Package/PHP/README =================================================================== --- phd/trunk/phpdotnet/phd/Package/PHP/README (rev 0) +++ phd/trunk/phpdotnet/phd/Package/PHP/README 2009-09-04 15:29:03 UTC (rev 288056) @@ -0,0 +1,38 @@ +Rendering the documentations for the first time: + WINDOWS: + #1) cd c:\ + #2) svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en + #3) cd doc-en\doc-base + #4) php configure.php + #5) phd --docbook c:\doc-en\doc-base\.manual.xml + + *NIX: + #1) cd ~ + #2) svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en + #3) cd doc-en/doc-base + #4) php configure.php + #5) phd --docbook ~/doc-en/doc-base/.manual.xml + + +This will create + "php" directory containing the "phpweb" files + NOTE: You CANNOT view these files without a phpweb mirror running. + See http://doc.php.net/wiki/phd/view#viewing_the_phpfolder + "html" directory containing the "downloadable chunked html" files + NOTE: Do NOT move these files onto your webserver. Just double click + them and your browser will open and show you the content + "bightml.html" file, which is the "downloadable bightml" file + +Now edit the XML files as you wish in the doc-en/en directory. +To build the documentation again follow the instructions above, skipping step#2. + +NOTE: To work on translations, you should replace the 'en' in all +of the above examples with the appropriate ISO 639-1 Code of the desired language. +(see http://www.sil.org/iso639-3/codes.asp for a list of codes) +e.g. 'pt' for Portuguese, or pt_BR for Brazillian Portuguese. Step two in the +example above would change to: + svn checkout http://svn.php.net/repository/phpdoc/modules/doc-pt +or + svn checkout http://svn.php.net/repository/phpdoc/modules/doc-pt_BR +The XML files to edit will be in doc-pt/pt or doc-pt_BR/pt_BR directories. +

« previous php.doc.cvs (#4845) next »