Hi! I've used Pydoc with Dieter Maurer's patches to browse the Zope sourcecode before. These patches are quite old and probably incompatible with current Zope versions. Is there a HOWTO for using Pydoc with a current Zope? Are there any new adapted versions of Pydoc? Or is there any better way of browsing the source code? Cheers Joachim -- iuveno AG Joachim Werner _________________ Wittelsbacherstr. 23b 90475 Nürnberg joachim.werner@iuveno.de www.iuveno.de Tel.: +49 (0) 911/ 9 88 39 84
Hi! Joachim Werner wrote:
Is there a HOWTO for using Pydoc with a current Zope? Are there any new adapted versions of Pydoc? Or is there any better way of browsing the source code?
Well. It depends on what you need. To get an overview of inherited methods, base classes and how they are related, I prefer epydoc. <http://epydoc.sourceforge.net> For a general comparison see this thread: <http://mail.python.org/pipermail/doc-sig/2002-October/002815.html> You can find outdated Zope3 docs generated with epydoc here: <http://www.objectrealms.net/zope3/api/public/> I recently hacked epydoc to work with ExtensionClasses and got some useful Zope2 output. But there are still some bugs in my patch. It's not in a state to release, but if you want I can send you my patch. HTH, Yuppie BTW: I like these trees generated with epydoc :-) Base --+ | CopyContainer --+ | Base --+ | | | Navigation --+ | Base --+ | | | Tabs --+ | Acquirer --+ | Persistent --+ | Base --+ | | | EtagSupport --+ | | | | | LockableItem --+ | | | Resource --+ | | | Collection --+ | Traversable --+ | ObjectManager --+ | Base --+ | | | Node --+ | | | | | Element --+ | | | | | ElementWithAttributes --+ | | | PropertyManager --+ | Base --+ | | | RoleManager --+ | | | RoleManager --+ | Base --+ | | | EtagSupport --+ | | | | | LockableItem --+ | | | Resource --+ | | | Collection --+ | Base --+ | | | Base --+ | | | | | EtagSupport --+ | | | | | | | LockableItem --+ | | | | | Resource --+ | | | Base --+ | | | | | CopySource --+ | | | Base --+ | | | | | Tabs --+ | | | Traversable --+ | | | Node --+ | | | | | Element --+ | | | Base --+ | | | | | Owned --+ | | | Base --+ | | | | | UndoSupport --+ | | | Item --+ | Base --+ | | | FindSupport --+ | Folder
Joachim Werner wrote at 2003-3-12 00:45 +0100:
I've used Pydoc with Dieter Maurer's patches to browse the Zope sourcecode before.
These patches are quite old and probably incompatible with current Zope versions.
I expect that only minor changes are necessary to make them work with Zope 2.1.6: * Initialization moved from "Zope/__init__.py" to "Zope/App/startup.py" * An explicite call to "startup" might be necessary. Dieter
participants (3)
-
Dieter Maurer -
Joachim Werner -
Yuppie