I managed to get pudge to build the documentation for simplejson:
        http://svn.red-bean.com/bob/simplejson/trunk/docs/index.html

I had to make several patches in order to make it work like that:

Trivial patch to fill in some defaults to make all of the built-in templates build without specifying license or organization_url:
        http://lesscode.org/projects/pudge/ticket/7

Probably mostly broken patch to get the source code to build for modules that don't show up in __all__ (so the JSONEncoder and JSONDecoder source links work):
        http://lesscode.org/projects/pudge/ticket/8

Relatively big patch to use "unobtrusive javascript" techniques to make the docs work without a webserver by stowing away the line range inside of a class name rather than directly on the query string:
        http://lesscode.org/projects/pudge/ticket/9

I'm also just copying over one of the files on top of index.html with this script, because the module index is all I really needed:
        http://svn.red-bean.com/bob/simplejson/trunk/scripts/make_docs.py

In the future, it would be nice if more license templates were in there. Personally I'd like to use either a public domain or CC attribution license. No patch on this one:
        http://lesscode.org/projects/pudge/ticket/6

-bob

_______________________________________________
Pudge mailing list
[email protected]
http://lesscode.org/mailman/listinfo/pudge

Reply via email to