On Oct 3, 1:51 am, Chris Rebert <cvreb...@gmail.com> wrote:
> I have a package roughly like this:
> my_package/
>     __init__.py
>     private.py

> # __init__.py:
> from my_package.private import PublicClass
>

In the appropriate place in your documentation, you can do

.. autoclass:: my_package.PublicClass
   :members:

where the :members: is optional, of course.

Regards,

Vinay Sajip

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to