Skip to content

Instantly share code, notes, and snippets.

@zircote
Created June 2, 2011 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zircote/1004580 to your computer and use it in GitHub Desktop.
Save zircote/1004580 to your computer and use it in GitHub Desktop.
DocBlox from PHPDocumenter
diff --git build.xml build.xml
index 0342c23..2608ddf 100644
--- build.xml
+++ build.xml
@@ -26,7 +26,7 @@
</target>
<target name="parallelTasks"
- description="Run the pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc tasks in parallel using a maximum of 2 threads.">
+ description="Run the pdepend, phpmd, phpcpd, phpcs, docblox and phploc tasks in parallel using a maximum of 2 threads.">
<parallel threadCount="2">
<sequential>
<antcall target="pdepend" />
@@ -34,7 +34,7 @@
</sequential>
<antcall target="phpcpd" />
<antcall target="phpcs" />
- <antcall target="phpdoc" />
+ <antcall target="docblox" />
<antcall target="phploc" />
<antcall target="phpcb" />
</parallel>
@@ -83,9 +83,9 @@
</exec>
</target>
- <target name="phpdoc" description="Generate API documentation using PHPDocumentor">
- <exec executable="phpdoc">
- <arg line="-d ${source} -t ${basedir}/build/api" />
+ <target name="docblox" description="Generate API documentation using DocBlox">
+ <exec executable="docblox">
+ <arg line="run -d ${source} -t ${basedir}/build/api" />
</exec>
</target>
# DocBlox does require xsl support
sudo apt-get install php5-xsl # or equivelant for your OS
sudo pear channel-discover pear.michelf.com # a dependency channel for docblox
sudo pear channel-discover pear.docblox-project.org
sudo pear install docblox/DocBlox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment