// Internet Duct Tape

Python and Doxygen — Automatically Document Your Python Code

Posted in Links, Technology, Writing Better Documentation by engtech on April 20, 2006

Python & Doxygen

You may have heard of Doxygen, a program that generates source code documentation by directly reading the source files and extracting the documentation from there. Unfortunately, doxygen can’t read Python code directly (it was originally written to extract documentation from C/C code). However, it is possible to apply a filter to an input file and doxygen will then process the filtered result. And this is what you can get right here, a filter that transforms Python code into C stubs so that doxygen can process the documentation.

One Response

Subscribe to comments with RSS.

  1. engtech said, on January 30, 2007 at 12:35 am

    I’ve since tried HappyDoc and I’m happy with it. It does a good job of working right out of the box with minimal configuration.

    http://happydoc.sourceforge.net/


Comments are closed.

Follow

Get every new post delivered to your Inbox.

Join 286 other followers

%d bloggers like this: