pydoctor doesn't try to import the doc parser until after reading all the input modules
Bug #359242 reported by
Samuel Bronson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pydoctor |
Confirmed
|
Low
|
Unassigned |
Bug Description
For example, if I tried to generate bzrlib API docs using this bzr.cfg:
projectname: bzrlib
packages: bzrlib
htmloutput: bzrlibapi
docformat: reStructuredText
... I wouldn't get an error message about not being able to import reStructuredText until *after* pydoctor had already looked at all the modules in bzrlib, which can take a bit. It's very frustrating to have it look like something is working only to fail for such an easy-to-check reason >10s in.
(Incidentally, what configuration do you use to generate the bzrlib API docs? I didn't find a .cfg file in either the bzr or pydoctor source trees.)
To post a comment you must log in.
Can see the point.