Aaron,

Any idea ?

On Mon, Nov 5, 2018 at 10:43 AM FP <[email protected]> wrote:

> Hi Aaron,
>
> Thanks for responding.
>
> I noticed the .. contents:: :local: directive but it does seem that I
> can't display in the toctree.
>
> I would like to do something like
>
> .. toctree::
>    .. contents:: :local:
>
>
> The current table on content is only displayed on the index page
>
> Any ideas what I am doing wrong?
>
> Thanks,
> FP
>
> On Monday, November 5, 2018 at 9:03:49 AM UTC-8, Aaron Carlisle wrote:
>>
>> Hi, I think you want this
>> http://docutils.sourceforge.net/docs/ref/rst/directives.html#table-of-contents
>>
>> On Mon, Nov 5, 2018 at 3:51 AM FP <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I have a page there I would like to get the toctree from itself.
>>>
>>>
>>> if I have something like
>>>
>>> .. toctree::
>>>     :maxdepth: 2
>>>
>>>     index
>>>
>>> The webpage get generated but I get 2 warnings messages:
>>> - self referenced toctree found
>>> - circular toctree references detected, ignoring: index <- index
>>>
>>> I can't seem to find an elegant solution.
>>> Any ideas ? or pointers?
>>>
>>>
>>> -FP
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sphinx-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>
>>
>>> Visit this group at https://groups.google.com/group/sphinx-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Aaron Carlisle
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Franck

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to