Re: Phpdocumentor - peardoc2

From: Date: Mon, 24 Mar 2003 02:04:31 +0000
Subject: Re: Phpdocumentor - peardoc2
References: 1 2 3 4  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-507@lists.php.net to get a copy of this message
Hi Arnaud, I've fixed the @category bug in cvs, please give a try. Also, here is a diff to LoginManager.php from cvs (just updated a few seconds ago) that will make your docblocks work. It wasn't working because phpDocumentor only allows @package and @category tags in page-level and in class-level DocBlocks. page-level DocBlocks must precede every documentable element and be followed by another DocBlock. the require_once 'PEAR.php' is a documentable element, so phpDocumentor was assuming that the next docblock was not a page-level docblock. I hope this makes sense. The documentation for phpDocumentor at http://www.phpdoc.org/manual.php explains in greater detail, please let me know if there is anything that can be cleared up. Thanks, Greg Arnaud Limbourg wrote: > Damn, i'm close, i still don't quite get how the beast thinks :) > > ERROR in LoginManager.php on line 28: package has multiple @category tags, ignoring > "@category authentication" > WARNING in LoginManager.php on line 28: no @package tag was used in a DocBlock for file > /home/arnaud/development/pear/Perm_LiveUser/LoginManager.php > > ERROR in LoginManager.php on line 28: require_once include's DocBlock has @package tag, > illegal. ignoring tag "@package LiveUser" > > ERROR in LoginManager.php on line 28: DocBlock has multiple @package tags, illegal. ignoring > additional tag "@package LiveUser" > > ERROR in LoginManager.php on line 79: package has multiple @category tags, ignoring > "@category authentication" > > ERROR in LoginManager.php on line 228: Unclosed list tag in DocBlock, parsing will be > incorrect > > ERROR in LoginManager.php on line 1053: package has multiple @category tags, ignoring > "@category authentication" > WARNING in LoginManager.php on line 1109: no @package tag was used in a DocBlock for file > /home/arnaud/development/pear/Perm_LiveUser/LoginManager.php > done > > >>Hi Arnaud, >> >>update from cvs again, there should be no more *-summary generation. >>The id you describe represents >>package.categoryname.packagename.file.subsection, which is correct, it >>allows jumping to sub-sections. >> >>By the way, there are some tag errors in LiveUser, including a fatal one >>(empty @return in LiveUser_Auth_Common::readUserData), and I also >>noticed a $var array instaed of @var array, an @access privat instead of >>private, etc. >

« previous php.pear.doc (#507) next »