svn: /phd/trunk/ HOWTO.GENERATE_CHM package_php.xml phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM

From: Date: Fri, 04 Sep 2009 15:34:44 +0000
Subject: svn: /phd/trunk/ HOWTO.GENERATE_CHM package_php.xml phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4849@lists.php.net to get a copy of this message
bjori Fri, 04 Sep 2009 15:34:44 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288060 Log: Move php.net specific info to the package, and install the file Changed paths: D phd/trunk/HOWTO.GENERATE_CHM U phd/trunk/package_php.xml A + phd/trunk/phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM (from phd/trunk/HOWTO.GENERATE_CHM:r288050) Deleted: phd/trunk/HOWTO.GENERATE_CHM =================================================================== --- phd/trunk/HOWTO.GENERATE_CHM 2009-09-04 15:32:25 UTC (rev 288059) +++ phd/trunk/HOWTO.GENERATE_CHM 2009-09-04 15:34:44 UTC (rev 288060) @@ -1,43 +0,0 @@ -PhD - PHP DocBook -Copyright(c) 2007-2009 The PHP Documentation Team -All Rights Reserved. - -Warning: you'll need Windows to build CHM files. - -First, you will need to get the last SVN version of the PhD renderer from the repository: - svn checkout http://svn.php.net/repository/phd/trunk phd - -Then, you need to get the documentation: - svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en - -If you want to render a translated documentation instead: - svn checkout http://svn.php.net/repository/phpdoc/modules/doc-{lang} -where {lang} is the 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. -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 - -To render the documentation: - #1) cd {PHPDOC_PATH} - where {PHPDOC_PATH} is the path of the grabbed phpdoc directory - #2) php configure.php [ --with-lang={lang} ] - to generate the .manual.xml file required by PhD - #3) cd {RENDER_PATH} - #4) php {PHD_PATH}\build.php -t chmsource {PHPDOC_PATH} - #5) You should see the message "[hh:mm:ss - VERBOSE_FORMAT_RENDERING] Finished rendering" - -Finally, to compile the CHM sources: - #1) Download & install Microsoft HTML Help Workshop (http://go.microsoft.com/fwlink/?linkid=14188) - #2) Open the "chm\php_manual_en.hhp" (CHM Project) file with HTML Help Workshop - #3) In the "File" menu, click on "Compile...", then the "Compile" button. - #4) After the compilation process, you should see the message "Created {RENDER_PATH}\chm\php_manual_{lang}.chm". You can quit HTML Help Workshop. - -Done ! The compiled CHM file is located on "{RENDER_PATH}\chm\php_manual_{lang}.chm". - -Please read the README file for further information. - -- The PHP Documentation team - Modified: phd/trunk/package_php.xml =================================================================== --- phd/trunk/package_php.xml 2009-09-04 15:32:25 UTC (rev 288059) +++ phd/trunk/package_php.xml 2009-09-04 15:34:44 UTC (rev 288060) @@ -56,6 +56,7 @@ <file baseinstalldir="phd" name="phpdotnet/phd/Package/PHP/HowTo.php" role="php"/> <file baseinstalldir="phd" name="phpdotnet/phd/Package/PHP/XHTML.php" role="php"/> <file baseinstalldir="phd" name="phpdotnet/phd/Package/PHP/README" role="php"/> + <file baseinstalldir="phd" name="phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM" role="php"/> </dir> </contents> Copied: phd/trunk/phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM (from rev 288050, phd/trunk/HOWTO.GENERATE_CHM) =================================================================== --- phd/trunk/phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM (rev 0) +++ phd/trunk/phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM 2009-09-04 15:34:44 UTC (rev 288060) @@ -0,0 +1,43 @@ +PhD - PHP DocBook +Copyright(c) 2007-2009 The PHP Documentation Team +All Rights Reserved. + +Warning: you'll need Windows to build CHM files. + +First, you will need to get the last SVN version of the PhD renderer from the repository: + svn checkout http://svn.php.net/repository/phd/trunk phd + +Then, you need to get the documentation: + svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en + +If you want to render a translated documentation instead: + svn checkout http://svn.php.net/repository/phpdoc/modules/doc-{lang} +where {lang} is the 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. +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 + +To render the documentation: + #1) cd {PHPDOC_PATH} + where {PHPDOC_PATH} is the path of the grabbed phpdoc directory + #2) php configure.php [ --with-lang={lang} ] + to generate the .manual.xml file required by PhD + #3) cd {RENDER_PATH} + #4) php {PHD_PATH}\build.php -t chmsource {PHPDOC_PATH} + #5) You should see the message "[hh:mm:ss - VERBOSE_FORMAT_RENDERING] Finished rendering" + +Finally, to compile the CHM sources: + #1) Download & install Microsoft HTML Help Workshop (http://go.microsoft.com/fwlink/?linkid=14188) + #2) Open the "chm\php_manual_en.hhp" (CHM Project) file with HTML Help Workshop + #3) In the "File" menu, click on "Compile...", then the "Compile" button. + #4) After the compilation process, you should see the message "Created {RENDER_PATH}\chm\php_manual_{lang}.chm". You can quit HTML Help Workshop. + +Done ! The compiled CHM file is located on "{RENDER_PATH}\chm\php_manual_{lang}.chm". + +Please read the README file for further information. + +- The PHP Documentation team + Property changes on: phd/trunk/phpdotnet/phd/Package/PHP/HOWTO.GENERATE_CHM ___________________________________________________________________ Added: cvs2svn:cvs-rev + 1.3 Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:mergeinfo + Added: svn:eol-style + native

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