[EMAIL PROTECTED] wrote: > Hi, > > (This is not directly related to Django, but would help me in that domain) > > I was wondering if there exists some kind of automated documentation generator > (html, pdf, text, whatever readable format) for instanciated objects. > > Basic use for me would be to pass a [newform] object, and it would output its > methods (with docstrings), attributes, and if attributes are objects, > recursively build their auto-documentation. > > I have used Epydoc, pydoc, and similar tools in the past, but from the > command-line and I believe it reads source code, not analyse an existing > object. > > You might have guessed, I am a lazy code reader. > When it comes to newform module, or similar libraries for other projects (did > I > say complex?), this would reveal helpful to dig the APIs using live code. > > Thanks in advance. >
Maybe have a look how django generates the automatic filter/tags/model reference/documentation in the admin? Haven't looked at the code, but maybe it gets you started. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---