~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc_generate/__init__.py

  • Committer: James Blackwell
  • Date: 2005-12-12 00:07:25 UTC
  • mto: (1185.50.63 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: jblack@pluto-20051212000725-762c2850e04f38ca
Going closer to ndim

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
import sys
26
26
 
27
 
def generate(doc_type, target):
28
 
    mod_name = "%s_%s" % (doc_type, target)
 
27
def generate(target):
 
28
    mod_name = "autodoc_%s" % (target)
29
29
    mod = __import__(mod_name)
30
30
    components = mod_name.split('.')
31
31
    for comp in components[1:]: