[EMAIL PROTECTED] wrote:
> I made a doc/ folder on tg2/ to handle the API generation stuff, and
> make some modification on module doc strings.
> 
> At this moment you could easily generate tg2 APi with epydoc.
> 
> There's also a README for API generation instructions :)
> 
> 
> Document generation Guide
> =========================
> 
> You need to install epydoc 3 first before go through this doc.
> 
> You could got epydoc source from epydoc svn::
> 
>     $ svn co https://svn.sourceforge.net/svnroot/epydoc
> 
> And follow epydoc's doc to install it.

They have a Makefile?  Wow, that's very retro.  And weird.

> Check Modules
> -------------
> 
> To check what docs need to be written, use the command in source
> folder::
> 
>     $ epydoc --check tg
> 
> The command will gather all undocumented and no description python
> methods.
> 
> Generate Docs
> -------------
> 
> To generate Turbogears2 API, use the command in source folder::
> 
>     $ epydoc --config doc/doc.ini
> 
> to generate API documents into tg2/apidoc folder.
> 
> You could custom the doc.ini setting to generate other type of docs.

It would be nice if you could do "python setup.py epydoc" in TG, reading 
config settings from setup.cfg.  If anyone is inclined towards such 
things, the glue code is pretty small.  But you have to use distutils 
command line framework, which is a tad crufty (but not that bad, 
really).  Anyway, if anyone is curious about such things, I can point 
you to example code.


-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to