| |
|
 |
eZ phpdoc usage
The eZ phpdoc program is a Perl command line script. You can get the latest version of it here.
If you run the command ezphpdoc.pl without any arguments you get a message like the one shown below.
eZ phpdoc v0.9
Usage: phpdoc.pl sourcedir... -o outputdir
--disable_todo ( will remove the todo listing )
Notice: phpdoc will search the sourcedir recursively and use all
.php files containing a class definition.
|
To generate documentation from the classes in the directories classpath1, classpath2 and /home/myuser/classpath3 run the following command. By default the output is generated in a ./doc/ catalogue.
#ezphpdoc.pl classpath1/ classpath2/ /home/myuser/classpath3 -o /home/myuser/documentation
|
If you want to disable the TODO listing, e.g. you will show the documentation but hide the todo's, add the argument --disable_todo.
Comment List
| Topic: |
Author: |
Time: |
|
subclasses
|
Geoff Caplan
|
16.03.2001 22:18
|
|
Love the tool. I like the markup style, which is less intrusive than the javadoc style to my way of thinking.
The weakness, as I see it, compared to the main competition (www.phpdoc.de) is that ezphpdoc doesn't show the class hierarchy. If you get around to upgrading the script, perhaps you would consider adding this facility.
|
|
Good tool, need to discuss the specifics though
|
David Grinberg
|
21.02.2001 00:51
|
|
I think that after using this tool for a little while that it is an extremely good and powerful little tool. One that I will be using for all of my PHP documentation now.
I also like the tutorial very easy to read and gets straight to the point. Although I would like to point out some problems that I had and tok me a while to figure out.
1. Cannot have an index class in a file called index.php. As the generator puts the class list in a file called index.html and puts the documentation for the index class into index.html (copies the name of the php file.) These two then overwrite one another.
2. Cannot have a space before the declaration of the class. class needs to be the first character on the line, otherwise the tool cannot find the name.
3. There is no description of how to insert the version in the tutorial. Just need to check out the source code in th example.
Overall I love it. Keep up the good work!!
|
|
phpdoc
|
Ot Ratsaphong
|
28.11.2000 00:53
|
|
I am very impressed with this product. I especially like the ability to view the source code and the ability to switch back and forth b/w code and doco. Well Done!!!
One thing I found missing in the article were some recommendations on what information to put in the documentation. The examples show fairly rudimentary documentation.
We've got the tool to document our code, now let's see some examples of good documentation.
BTW your coding style is a great example to follow.
|
|
RE: phpdoc examples
|
Paul Kenneth Egell-Johnsen
|
28.11.2000 18:51
|
|
Check out http://doc.ez.no for our nightly updated php classes. These are documented using what we consider good style.
I will be the first, though, to admit that we haven't been very good at keeping it up, but rest assured, we will slowly get there.
|
|
 |
|
|