-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can't reproduce a failure with "self" and ":hidden:" in the master file.
Can you give me either the source or at least the full error log?

Georg

Schollii schrieb:
> 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.
> > 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkr3ETgACgkQN9GcIYhpnLD/yQCfW2+m6jYpLLK5lthVkPnwNvgu
dG0AoK/cirdJXCIih19CghLN/lJwTNiZ
=hD4N
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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