Re: PHPDoc renderer not working
| From: | Tomas V.V.Cox | Date: | Mon, 29 Apr 2002 22:57:35 +0000 |
| Subject: | Re: PHPDoc renderer not working | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5905@lists.php.net to get a copy of this message | ||
Thanks Tim, with your advices I could fix the "phpdoc" script very fast.
I used the "default" template because (apart from finding yours more
intuitive), the Linux navigators do not render quite good the generated
HTML.
Tomas V.V.Cox
Tim Gallagher wrote:
>
> Also know that the file copying for apidoc won't work. apidoc files were
> moved to:
>
> renderer/html/*TEMPLATE_NAME*/static
>
> -timmyg
>
> At 10:49 AM 4/29/2002 -0500, I wrote:
> >on/around line 104 which reads...
> >
> >$doc->setTemplateDirectory(PHPDOC_INCLUDE_DIR . '/renderer/html/templates/');
> >
> >change this to
> >
> >$doc->setTemplateDirectory(PHPDOC_INCLUDE_DIR . '/renderer/html/default/');
> >
> >see if that helps.
> >
> >-timmyg
> >
> >
> >
> >At 03:38 PM 4/26/2002 -0700, Jesus M. Castagnetto wrote:
> >>I am using the code at pear/PHPDoc/phpdoc (stand alone script), which
> >>does not
> >>seem to work quite well. Tried putting the appropriate vars in the
> >>command line
> >>and inside the script, but all I get is the XML files, not the rendered HTML
> >>files that are expected. All HTML files contain the number "1" and nothing
> >>else; kind of funny to see after a long time of processing a bunch of 1-byte
> >>long .html files
> >>
> >>Any ideas? will try and use the index.php file in the same dir.
> >>
> >>
> >>=====
> >>--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)