Re: Help in PHPDoc

From: Date: Wed, 13 Mar 2002 07:26:49 +0000
Subject: Re: Help in PHPDoc
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88299@lists.php.net to get a copy of this message
From PhpdocSetupHandler.php * * By default only files with the suffix ".php" are recognized as * php source code files and parsed. If you used other * suffixes such as ".inc" you have to tell phpdoc to parse * them. $doc->setSourceFileSuffix( array ("php", "inc") ); in index.php Regards, Andrey Hristov ----- Original Message ----- From: "S.Murali Krishna" <smk_bk@yahoo.com> To: "Andrey Hristov" <ahristov@icygen.com> Cc: "S.Murali Krishna" <smk_bk@yahoo.com>; <php-general@lists.php.net> Sent: Wednesday, March 13, 2002 7:41 AM Subject: Re: [PHP] Help in PHPDoc > > Hi Andrey > Thanks for your kind response first. I did the way you told > but still after executing index.php, there is nothing in my doc directory > just see the following snap of my code. I want to create documentation for > > ./xPage/xPagedoc.inc file and want the documentation to be in ./xPagedoc/ > directory. I think the following code is right for this. > > $doc->setApplication("xPage Repository"); > > // directory where your source files reside: > $doc->setSourceDirectory("./xPage"); > > // save the generated docs here: > $doc->setTarget("./xPagedoc"); > > even I tried with absolute pathname for the above. > > > Thanks > > > On Tue, 12 Mar 2002, Andrey Hristov wrote: > > > I used it few times. You have to make modifications to index.php, so the engine will know > > where to look to for .php scripts that > > have to be documented. > > I've attached my index.php > > > > ----- Original Message ----- > > From: "S.Murali Krishna" <smk_bk@yahoo.com> > > To: <php-general@lists.php.net> > > Sent: Tuesday, March 12, 2002 4:35 PM > > Subject: [PHP] Help in PHPDoc > > > > > > > > > > Is anybody using PHPDoc for creating documentation, if yes could > > > you tell me how to create documentation for a single "php" file which > > > has enough comments needed by PHPDoc. > > > > > > > > > <smk_bk@yahoo.com> > > > ------------------------------------------------------------------- > > > We must use time wisely and forever realize that the time is > > > always ripe to do right." > > > > > > -- Nelson Mandela > > > ------------------------------------------------------------------- > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > <smk_bk@yahoo.com> > ------------------------------------------------------------------- > We must use time wisely and forever realize that the time is > always ripe to do right." > > -- Nelson Mandela > ------------------------------------------------------------------- > >

« previous php.general (#88299) next »