Skip to main content

Use EpyDoc to build documentation for python modules

Project description

Introduction

This buildout recipe generates epydoc documentation for you project

Usage Instructions

Let’s say you have a package called ezineserver. In the buildout.cfg file of your package, add a docs section that looks like this:

[docs]
recipe = z3c.recipe.epydoc
eggs =
      z3c.recipe.epydoc
      ezineserver
doc = ezineserver

Be sure to include it in the parts, as in:

[buildout]
develop = .
parts = docs

Now you can rerun buildout. The recipe will have created an executable script in the bin directory called docs.

This script will run the epydoc documentation generation tool on your source code.

To generate documentation simply run docs script:

$ ./bin/docs --no-frames

Notice that since version 0.0.2 you can pass additional epydoc options. This generates all the documentation for you and placed it in the parts directory. You can then open it up in firefox and take a look:

$ firefox parts/docs/index.html

And that’s it!

CHANGES

0.0.2 (2008-07-09)

  • Pass sys.argv to bin/docs (you can pass additional epydoc options do script)

0.0.1 (2008-07-08)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3c.recipe.epydoc-0.0.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

z3c.recipe.epydoc-0.0.2-py2.4.egg (6.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page