Couple things don't work with 'self' in toctree:

1) If I don't have a page title, then 'self' entry in toctree uses
some other TOC entry. For instance if self is last item in list:

.. toctree::

   entry1
   entry2
   self

it will put entry1 or 2 in TOC instead of the page currently using the
self. If the self is the first item:

.. toctree::

   self
   entry1
   entry2

then the TOC will have the first subtitle (section title) of the
current page.

2) If I have self at the top level of toctree, then children pages
don't have that entry. Ie if top-level page shows

.. toctree::

   self
   entry1
   entry2

then the TOC for master page will have an entry for the current page,
but if I click on the link for entry1, that link disappears. This is
counter-intuitive as there should only be one TOC tree (though makes
sense to hide children links in some cases etc), the one that toctree
refers to.

Any help appreciated!

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