You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preparing documents...
x.rst: WARNING: self referenced toctree found. Ignored.
done
writing output... [100%]
z
x.rst: WARNING: circular toctree references detected, ignoring: x <- x
x.rst: WARNING: circular toctree references detected, ignoring: x <- x
According to my understanding a self-reference under ..toctree:: shall not be by filename, but with the self keyword. However if you check the generated files, the menu in x.html is
X Ulala
X Hm, hm, hm
X Bam, bam, bam
hence referencing as wanted all elements on the current page, while the menu in z.html is:
Z Ulala
and the sub-sections do not appear in the TOC. Playing with :maxdepth: does not help.
The problem is, that self does not include the subsections, which works when in place of self the current file name is written.
Does contents allow referencing the current file and other files at the same time, so that it is used not only for rendering, but also for updating the global table of content structure?
The attached file contains in
x.rst
:and in
y.rst
:Sphinx 1.6.7 warns with:
According to my understanding a self-reference under
..toctree::
shall not be by filename, but with theself
keyword. However if you check the generated files, the menu inx.html
ishence referencing as wanted all elements on the current page, while the menu in z.html is:
and the sub-sections do not appear in the TOC. Playing with
:maxdepth:
does not help.The problem is, that
self
does not include the subsections, which works when in place ofself
the current file name is written.toc-self.zip
The text was updated successfully, but these errors were encountered: