On Oct 4, 2009, at 9:36 AM, j brandon keith wrote:

>
> Hi, I'm trying to do some automatic module generation.  I've got some
> functions in a module I'd like to generate in one part:
>
> .. automodule:: pyre.inventory.__init__
>   :members: some-functions-here
>   :undoc-members:
>
> and other functions I'd like to generate in another part:
>
> .. automodule:: pyre.inventory.__init__
>   :members: other-functions-here
>   :undoc-members:
>
> but running 'make html' gives:
>
> reST markup error:
> /home/jbk/DANSE/pyreTrunk/docs/pyreBasics.rst:: (SEVERE/4) Duplicate
> ID: "module-pyre.inventory.__init__".
> make: *** [html] Error 1
>
> meaning it creates some sort of index that doesn't allow me to do  
> the above
>
> how do i get around this?

Try adding the :noindex: flag to your automodule directives.  That  
should remove all of the members from the index entirely.

It does seem like the index should only include the members being  
documented in any given spot, though, so I think this may be a bug.

Doug


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@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