Wednesday, 27. May 2009, 19:47:50
hi there,
it will vbe very fast entry cause i don't have much time right now...
i just connected
phpdocumentor with
eclipse i tried to use few tutorials/how tos but i need to make it in different way, ok so let's go.
Assume you have php installed, so:
pear upgrade PhpDocumentor [go grab some coffe]
after installing, open eclipse, then:
Run->External Tools->Open External Tools Dialogthen, click on "new"
on the "Main" tab:
pick up some name for example 'phpDocumentor'
in the location, browse to phpdoc.bat (under windows, sorry will try to make tutorial also for linux)
in the working dir, put there path to some empty dir for phpdocumentor for work

then, in the arguments put these:
-d "${project_loc}" -t "C:\your_path_to_doc_dir\${project_name}" -o HTML:Smarty:default
on the "Common" tab:
in the "Display in favourites menu " group box, check the "External tools"
you can also change encoding to UTF-8 (preferable)...
click on "Apply",
and you've got it... that's alll
if you want to make a documentation, just select the project in the PHP Explorer, then click the:
Run->External Tools ->phpDocumentor (i assume that you name the command like that)
and voila, after severall seconds (depends on your machine) you'll have the documentation in the:
"C:\your_path_to_doc_dir\${project_name}"
that's all
p.s.
soon or not...'ll try to add some screens..