self referenced toctree found

210 views
Skip to first unread message

FP

unread,
Nov 5, 2018, 3:51:43 AM11/5/18
to sphinx-users
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

Aaron Carlisle

unread,
Nov 5, 2018, 12:03:49 PM11/5/18
to sphinx...@googlegroups.com

--
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 sphinx-users...@googlegroups.com.
To post to this group, send email to sphinx...@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.


--
Aaron Carlisle

FP

unread,
Nov 5, 2018, 1:43:22 PM11/5/18
to sphinx-users
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

Franck Yelles

unread,
Nov 8, 2018, 10:07:42 PM11/8/18
to sphinx...@googlegroups.com
Aaron,

Any idea ?
Franck

Budisa Kostic

unread,
Nov 10, 2018, 9:25:30 AM11/10/18
to sphinx...@googlegroups.com
Aaron,

Any idea ?

To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscribe@googlegroups.com.

To post to this group, send email to sphinx...@googlegroups.com.
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 sphinx-users+unsubscribe@googlegroups.com.

To post to this group, send email to sphinx...@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.


--
null

Budisa Kostic

unread,
Nov 10, 2018, 1:05:15 PM11/10/18
to sphinx...@googlegroups.com

kritsadakorn kaewkham

unread,
Nov 11, 2018, 10:24:45 AM11/11/18
to sphinx...@googlegroups.com
Whois Kritsadakorn Kaewkham 

Sent from my iPhone
--
Reply all
Reply to author
Forward
0 new messages