[Zope3-dev] api docs

kapil thangavelu kvthan@wm.edu
Thu, 7 Nov 2002 12:29:56 -0800


i used epydoc.sf.net to generate some api/reference type docs of z3
at

http://www.objectrealms.net/zope3/api/public

its mainly useful for structure as it currently doesn't take into account 
interfaces. i'll try and get some interface integration before the sprint.

thanks to jim and edward loper (epydoc author) for numerous misc. fixes.

script i used is attached below. utsl ;-)

cheers,

-k

#!/usr/bin/env python

import os, fnmatch, sys
from epydoc import cli

def gather(all_files, dir, files):

    if dir.find('tests') >= 0:
        return

    files = map(lambda x: os.sep.join( (dir, x) ), files)
    all_files.extend(fnmatch.filter(files, '*py'))

if __name__ == '__main__':

    res = []
    os.path.walk(os.getcwd(), gather, res)
    sys.argv.extend(res)
    cli.cli()