<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Project><name>dm.zdoc</name>
<shortdesc>pydoc based documentation for Zope</shortdesc>
<description>dm.zdoc
=======

Tiny wrapper around ``pydoc`` to make it usable for Zope.

A wrapper is necessary because Zope makes use of Python packages' ``__path__``
feature and this is not well supported by ``pydoc``.

Zope' environment variables ``INSTANCE_HOME`` and ``SOFTWARE_HOME`` must be 
set before the module can be imported.

Usage
=====

``zdoc`` can either be used via the script ``dmzdoc`` or via module import.
Note, that in both cases the Zope environment variables ``INSTANCE_HOME``
and ``SOFTWARE_HOME`` must be defined. They tell ``zdoc`` where the Zope sources
can be found.

Use via ``dmzdoc``
------------------

The script ``dmzdoc`` is installed when you have ``setuptools`` installed.

Otherwise, you must install it yourself. It has the following content::

   import dm.zdoc; dm.zdoc.cli()

``dmzdoc`` has the exact same options and parameters as ``pydoc``,
documented in pydoc_.

Use via module import
---------------------

The module ``dm.zdoc`` defines exactly the same objects as ``pydoc``.
Unfortunately, ``pydoc`` has no module level documentation - but you
can use ``pydoc`` to get a source documentation.

.. _pydoc: http://docs.python.org/lib/module-pydoc.html

Version History
===============

 * 1.1 works around a bug in ``zope.interface`` which breaks ``inspect``
   (the authors call it a feature, not a bug).</description>
<maintainer><foaf:Person><foaf:name>Dieter Maurer</foaf:name>
<foaf:mbox_sha1sum>d8caddec6e17247f3248c3b0be3935b6ae2fd7e1</foaf:mbox_sha1sum></foaf:Person></maintainer>
<release><Version><revision>1.1</revision></Version></release>
</Project></rdf:RDF>