Actually the error is with the :hidden: attribute. That attribute
works fine if I include it in a subpage that has a toctree::
directive, but not in the master file (index.rst). The 'self' entry
works fine.


On Oct 19, 10:18 am, Schollii <[email protected]> wrote:
> Haven't seen this discussed anywhere: if I add the 'self' entry to a
> toctree directive in my master rst file, I get the following error at
> doc build time:
>
> Exception occurred:
>   File "C:\Python24\Lib\site-packages\docutils\nodes.py", line 88, in
> setup_child
>     child.parent = self
> AttributeError: 'NoneType' object has no attribute 'parent'
>
> My index.rst contains following:
>
> .. toctree::
>    :maxdepth: 2
>    :hidden:
>
>    overview
>    self
>
> Am I not using this right? When I take it out (no "self" line), builds
> fine.
--~--~---------~--~----~------------~-------~--~----~
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