Hi, It seems globbing are nested. Did you have a sub index file in these sub directories like following? main ====
.. toctree:: :glob: * If true, project_root/index.rst should refer them: .. toctree:: main/index python_tools/index Thanks, Takeshi KOMIYA 2016年6月25日土曜日 7時54分15秒 UTC+9 Ilan: > > Hi, > I generated a structure of subfolders containing the rst files which is > equivalent to my source structure > (using apidoc) > so my docs/source folder contains the index.rst and the conf,py and > subdirectories of the rst files > my index.rst looks like this: > > Contents: > > .. toctree:: > :maxdept:2 > :glob: > > > main/* > PythonTools/* > > > in the index.html the table of content looks like this: > > - < a list of oll the files in main> > - main > - < the same list of the files in main> > - < a list of files in PythonTools> > - Python tools > - < the same list of files in PythonTools> > > How can I generate a table of contents which will not include the list > outside the folder : > > - main > - < a list od files in main> > - PythonTools > - < a list of the files in PythonTools> > > Thanks, > Ilan > > > > > > > > > > > > > -- 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.
