with epydoc 3.0 beta1 when constructing new classes with the type command, the classes are not recognized by epydoc if the those new classes are added in a sub-module. the code examples will explain the problem better than i can.
there are two test setups:
this example was provided to show a setup that works correctly. if you run `epydoc --config epytest2.cfg` on this module, the resulting docs include the 3 new classes MyStr, MyList, and MyDict.
this example does not work properly. __init__.py imports the test sub-module which sets up the 3 new classes. if you open a python interpreter and type `import epytest`, the printouts show that the classes exist and are available to the epytest module. however, if you run `epydoc --config epytest.cfg` on this module, the resulting docs do not include the 3 new classes MyStr, MyList, and MyDict.
perhaps there is a better way to do what i want in my code that will avoid this problem, but the code does what i need it to do, but the documentation is not being generated properly.
Log in to post a comment.