Automatically generate PHP documentation from Subversion with phpDocumentor

Posted by Sander_Marechal on Nov 5, 2007 8:23 AM EDT
Lone Wolves; By Sander Marechal
Mail this story
Print this story

The longer I program, the more structured my programming methods have become. Currently I am busy playing with generated documentation and unit testing. Generated documentation is an all round great idea, but it has a drawback: You need to generate it all the time. So I set out to use Subversion’s post-commit hook to generate fresh documentation for my PHP projects using phpDocumentor. I have written a little Python script that you can call from Subversion’s post commit hook. This script scans your subversion project for files that have the phpdoc property set. If any of these have changed, then it regenerates your documentation using phpDocumentor. It can also deal with files that are not kept in your Subversion repository and supports anything also supported by phpDocumentor.

Full Story

  Nav
» Read more about: Story Type: Announcements, Tutorial; Groups: PHP

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.