Hi,

I'm a newbie to sphinx and have been looking at the example of autodoc
directives  at:

http://packages.python.org/an_example_pypi_project/sphinx.html#full-code-example


Could anyone explain to me why it is necessary to prefix the module
name useful_1 with an_example_pypi_project in the automodule
directive?
instead of just using


.. automodule:: useful_1
   :members:



I have tried the latter and I get an error when generating the HTML:

(SEVERE/4) Duplicate ID: "module-useful_1".

But I really don't understand why.
Many thanks

Tomas Bar

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

Reply via email to