Thanks for your replies.  I have got a little further now - Sphinx is 
finding my source files. However, I'm not yet getting the results I want.

I have chosen not to use sphinx-apidoc because, when I run make against its 
output files, I get reports of various modules that can't be found. So I've 
chosen to specify the classes I want to document explicitly.

I have a main.py source file that contains a class called 'CSchematic'.

In index.rst I specified:

.. automodule:: main

.. autoclass:: CSchematic
    :members:

but 'make html' reports:

C:\index.rst:16: WARNING: don't know which module to import for 
autodocumenting 'CSchematic' (try placing a "module" or "currentmodule" 
directive in the document, or giving an explicit module name)

Please can you suggest what is wrong with my directives?

Best regards

David

>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to