Как установить phpdoc - как работать с phpdocs PHPDocumentor. Как пользоваться?
Primary tabs
С помощью PEAR устанавливается phpdoc командой:
pear install PhpDocumentor-1.4.4
как получить документацию по комментированному коду - можно прочитать здесь
Параметры командной строки смотрите здесь
А вот такая команда =
phpdoc -o HTML:frames:earthli -d C:\data\localhost\www\tp\world-shared-folders -t docs
пропарсит папку
world-shared-folders
, расположенную по адресу
C:\data\localhost\www\tp\world-shared-folders
Ответ документатора здесь
удачи))
- vedro-compota's blog
- Log in to post comments
- 9571 reads
Comments
vedro-compota
Tue, 01/10/2012 - 10:19
Permalink
Microsoft Windows XP [Версия
Microsoft Windows XP [Версия 5.1.2600]
(С) Корпорация Майкрософт, 1985-2001.
C:\Documents and Settings\rooter>pear install PhpDocumentor-1.4.4
Did not download optional dependencies: pear/XML_Beautifier, use --alldeps to do
wnload automatically
pear/PhpDocumentor can optionally use package "pear/XML_Beautifier" (version >=
1.1)
downloading PhpDocumentor-1.4.4.tgz ...
Starting to download PhpDocumentor-1.4.4.tgz (1,534,088 bytes)
................................................................................
................................................................................
............................done: 1,534,088 bytes
install ok: channel://pear.php.net/PhpDocumentor-1.4.4
C:\Documents and Settings\rooter>
Microsoft Windows XP [Версия 5.1.2600]
(С) Корпорация Майкрософт, 1985-2001.
C:\Documents and Settings\rooter>phpdocs -h
"phpdocs" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
C:\Documents and Settings\rooter>phpdocs
"phpdocs" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
C:\Documents and Settings\rooter>phpdoc
******************************************************************************
* PhpDocument Command-Line Starter
*
* phpDocumentor is a JavaDoc-like automatic documentation generator for PHP
* written in PHP. It is the most versatile tool for documenting PHP.
*
* This batch-file will try to run the phpDocumentor using the command-line
* version of PHP4. NOTE: It will not run with the PHP ISAPI module!
* Please update the path in this batch-file to your PHP-CLI.
*
* Tip: o Grab a copy of one of the ini-files in the user/ dir of the
* phpDocumentor and modify the settings there.
* o To see the command line options type phpdoc -h
*
* @version 1.3 2003-06-28
* @author Sam Blum sam@blueshoes.org
* @Copyright Free Software released under the GNU/GPL license
*
* This SW was contributed by BlueShoes www.blueshoes.org "The PHP Framework"
******************************************************************************
------------------------------------------------------------------------------
Select Ini-File [default is phpDocumentor.ini]
------------------------------------------------------------------------------
# 0: phpDocumentor.ini
# 1: default.ini
# 2: demo.ini
# 3: error.ini
# 4: makedocs.ini
# 5: testdocbook.ini
Type a number and press Enter[0]:
_____________
матфак вгу и остальная классика =)