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.

Reply via email to