Re: Getting started with the docs

From: Date: Sun, 09 Sep 2007 21:53:13 +0000
Subject: Re: Getting started with the docs
References: 1 2 3 4 5 6 7  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969378092@lists.php.net to get a copy of this message
On 9/9/07, Al <news@ridersite.org> wrote: > Hannes: > > I appreciate the help; but, Windows doesn't know anything about cvs up, php > configure.php, etc. I must be seriously missing something here. Did you try it? I installed WinCVS (http://wincvs.org, using their full installer) and PHP (using our installer) and logged out and in again. After that typing "php" and "cvs" (yeah, without ".exe" even) worked perfectly. If you need a graphical way for this then I cannot help you, sorry. Maybe some windows users on this list can? > I can readily upload my diff file to my php server; but, I still need other stuff. > > What tools do I need on the server and what documentation and diff files are needed? I'm not following.. Are you "cvs diff"ing on windows and then moving the patch to a server and then build phpdoc there? If so: cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc cd phpdoc wget http://domain.tld/path/to/your/diff.patch patch < diff.patch autoconf ./configure make test test_xml html_xsl The only tool that has a chance of not existing on your *nix server is xsltproc (which is required by html_xsl). If it does not then you have to install the libxslt package. That (above) will create a "html" directory with all the 6000 files. If you only want to build the document you edited: make part/the-root-id-of-the-document for instance, the strpos file (en/references/strings/functions/strpos.xml) has the xml:id="function.strpos" so building that page: make part/function.strpos Note: you'll need GNU make for that trick to work -Hannes > Hannes Magnusson wrote: > > On 9/8/07, Hannes Magnusson <hannes.magnusson@gmail.com> wrote: > >> Hi Al > >> > >> start->run->cmd > >> cd /path/to/your/phpdoc/checkout > >> cvs up > >> php configure.php > > > >> php scripts/file-entities.php > >> php scripts/missing-entities.php > > > > Uhh. These two are part of configure.php. You don't need to run it > > manually, sorry > > > > -Hannes >

« previous php.doc (#969378092) next »