Thanks. That does help a little but my tree view and package doc
page are still showing the 'subpackage' foo even though it's not
listed in __all__.
I tried setting show private to no but that didn't change this behavior.
At 01:42 PM 12/4/2007, Daniele Varrazzo wrote:
>Ted Drain ha scritto:
>>I'm trying to create documentation for a package in a way that
>>shows the programmatic layout of the objects. For example:
>> from foo import bar
>> class bar: ...
>>I'm using the v3 beta release. Parsing is turned off,
>>introspection is turned on. I'd like the docs to show something like this:
>>instead I get:
>>The problem is that foo is just a file - it's not a module and is
>>not used by anyone who is trying to reference the package. I'd
>>like the docs to reflect how you need to write your code - i.e.:
>>x = pkg.bar()
>>Am I missing something fundamental here? I've tried every
>>combination of introspect and parse but the docs always look the same.
>You can try adding __all__ = ['bar'] in pkg.__init__: it should
>enforce to epydoc that pkg is bar's parent in the public interface,
>and that foo.py is just an implementative detail.
>The feature should be independent from the analysis (parsing vs.
>Daniele Varrazzo - Develer S.r.l.
Ted Drain Jet Propulsion Laboratory ted.drain@...