Re: Local PHP docs with search facility

From: Date: Fri, 03 Jun 2011 10:39:27 +0000
Subject: Re: Local PHP docs with search facility
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-52853@lists.php.net to get a copy of this message
Hannes Magnusson <hannes.magnusson@gmail.com> writes: > On Fri, Jun 3, 2011 at 06:41, Richard Riley <rileyrg@googlemail.com> wrote: >> Hannes Magnusson <hannes.magnusson@gmail.com> writes: >> >>> On Thu, Jun 2, 2011 at 21:03, Richard Riley <rileyrg@googlemail.com> wrote: >>>> >>>> Could some kind soul advise me on how to install php docs localy and >>>> have the excellent patterns search work based on an sqllite database? >>> >>> https://wiki.php.net/doc/phd/view >>> >> >> Just as a side note on this informative thread (and to anyone else that >> comes across it in google), the instructions there dont actually install >> any of the manual so no look ups / function searches work at all. I'll >> look into it in more detail later. I'll head over to > > Sure it will. You just need to read the page, which has a very clear > requirement. > > If you can't follow it then http://php.net/mirroring could > be a > simpler approach for you. > > -Hannes I'm not sure it will at all, since they dont show you how to install the phd_php part or inform you that you need to. For a beginner thats a hurdle enough. You are probably too familiar with it to notice this. Result: ,---- | phd -d doc-base/.manual.xml -o output_dir -f php -P PHP `---- falls over. Fortunately that was correctly documented elsewhere and was pointed out to me in the php.docs list you recommended. https://doc.php.net/phd/docs/ : installation via pear. Also, I *think*, the instructions there are in addition to mirroring since the mirroring line doesnt include the manual subdir : so both sets are required and you symbolically link to your phpdoc configuration (or so it seems from the instructions). IMO, and with the benefit of being totally new to this and trying to use the docs, It's not clear from the pages if this phpdoc config is in addition to or superceded by the mirroring rsync line. cheers r.

« previous php.internals (#52853) next »