Re: Building Docs
| From: | Alexey Shein | Date: | Fri, 03 Jun 2011 07:55:02 +0000 |
| Subject: | Re: Building Docs | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969382723@lists.php.net to get a copy of this message | ||
2011/6/3 Richard Riley <rileyrg@googlemail.com>:
>
> I am trying to set up a local php web for doc lookup. I followed the
> instructions here
>
> https://wiki.php.net/doc/phd
>
> but this line
>
> phd -d doc-base/.manual.xml -o output_dir -f php -P PHP
>
> falls over with
>
> [08:28:02 - E_USER_ERROR ] /usr/share/php/phpdotnet/phd/Options/Handler.php:165
> Invalid Package (Tried: 'PHP' Supported: 'Generic')
>
It seems that you installed only Generic phd package and not PHP one
(i.e. that used for rendering php docs).
This link can help https://doc.php.net/phd/docs/ (see
PEAR install)
You can also try pear option --alldeps if dependencies still not
fetched automatically.
> I realise its probably very simple but digging around I am going in
> circles with pear/phar/phd/ etc. Can someone point out what I need to
> read/ do to proceed please.
>
> regards
> #r.#
>
>
--
Regards,
Shein Alexey