Skip to content

Commit

Permalink
Switch documentation generator to DocBlox (http://www.docblox-project…
Browse files Browse the repository at this point in the history
….org)

This is the natural successor to phpDocumentor which is now pretty much dead.
Docblox support PHP 5.3 syntax and new tags like @api and uses way less
runtim memory.
  • Loading branch information
Drak committed May 12, 2011
1 parent f809708 commit b977a41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project name="zikula" default="clean">

<!-- invokation
phing -f $WORKSPACE/source/build.xml clean prepare phpcs phpcb phpcpd phpunit pdepend phpmd phpdoc jsdoc build build_delete -Dworkspace=$WORKSPACE -Djob_name=$JOB_NAME -Dbuild_number=$BUILD_NUMBER -Dbuild_tag=$BUILD_TAG -Dbuild_id=$BUILD_ID -Dsvn_revision=$SVN_REVISION
phing -f $WORKSPACE/source/build.xml clean prepare phpcs phpcb phpcpd phpunit pdepend phpmd docblox jsdoc build build_delete -Dworkspace=$WORKSPACE -Djob_name=$JOB_NAME -Dbuild_number=$BUILD_NUMBER -Dbuild_tag=$BUILD_TAG -Dbuild_id=$BUILD_ID -Dsvn_revision=$SVN_REVISION
# note phpcb must follow phpcs
-->

Expand Down Expand Up @@ -149,9 +149,9 @@
</target>

<!-- PHPDocumentor -->
<target name="phpdoc">
<echo msg="PHPDocumentor..." />
<exec command="phpdoc --directory ${sourcedir}/src/lib/dbobject,${sourcedir}/src/lib/FileSystem,${sourcedir}/src/lib/Form,${sourcedir}/src/lib/i18n,${sourcedir}/src/lib/view,${sourcedir}/src/lib/StreamReader,${sourcedir}/src/lib/util,${sourcedir}/src/lib/Zikula --target ${builddir}/docs" escape="false" />
<target name="docblox">
<echo msg="Generating 'Api Documentation' with DocBlox..." />
<exec command="docblox --directory ${sourcedir}/src/lib/dbobject,${sourcedir}/src/lib/FileSystem,${sourcedir}/src/lib/Form,${sourcedir}/src/lib/i18n,${sourcedir}/src/lib/view,${sourcedir}/src/lib/StreamReader,${sourcedir}/src/lib/util,${sourcedir}/src/lib/Zikula --target ${builddir}/docs" escape="false" />
</target>

<!-- PHP copy/paste analysis -->
Expand Down

0 comments on commit b977a41

Please sign in to comment.