toctree Questions

3

Solved

I want to use Sphinx's autosummary extension and templates to generate API docs recursively from docstrings. I want separate pages for each module, class, method, property and function. But it does...
Kessiah asked 3/1, 2018 at 8:57

3

I'm struggling with sidebar table of contents in Sphinx's generated documentation. I just want to have kind of automatically generated index tree by the left side of my documentation. Instead, I s...
Abiogenetic asked 12/12, 2018 at 14:32

2

Solved

I have many .rst files in my Sphinx tree which are intentionally excluded from any index tree. I get warnings like /filename.rst:: WARNING: document isn't included in any toctree How can I supp...
Gavelkind asked 17/10, 2012 at 9:23

2

Solved

I have a toctree in my index.rst that looks something like this: .. toctree:: :maxdepth: 2 cat dog moose I am looking to to nest the contents of my toctree similar to how it is done here wi...
Extradition asked 28/4, 2016 at 21:34

5

I want to do multiple versions of a documentation, which differ in the sections that are included. To achieve this I would usually use either the only directive or the ifconfig extension. However, ...

5

Solved

I am trying to automatically create api docs for a large python codebase using Sphinx. I have tried using build_modules.py and sphinx-apidoc. With either one, I can get rst docs successfully creat...
Moresque asked 30/8, 2012 at 22:15

5

Solved

I'm getting the warning: WARNING: document isn't included in any toctree for files that exist in the document because they've been explicitly included. So I have the index file: .. toctree:: :max...
Torques asked 6/3, 2013 at 14:2

4

Solved

I'm generating html documentation in Sphinx. How do I modify the sidebar for each of the html pages in my document so that they include the toctree? By default the toctree only seems to display in...
Exhume asked 23/9, 2013 at 21:19

2

Solved

Sphinx generates an index named genindex when building a documentation and therefore forbids to use that name for a document. Now, how would I include a link to that index in a table of contents? ...
Alodie asked 26/3, 2016 at 12:58

1

Solved

In Sphinx docs, I define a reference document like this: Reference ========= .. toctree:: reference_api reference_cli reference_client reference_downloads reference_options reference_stats...
Weever asked 21/10, 2019 at 12:44

4

I was wondering if there is a way to expand all the subsections under the headers that are included in the index.rst file? As an example, here is how it is: Section 1 Section 2 Section 3 And he...
Robins asked 23/1, 2013 at 10:25

3

Solved

I'd like to have a link to the automatically generated index in the sidebar when using sphinx-rtd-theme. I've tried adding it to the toctree: .. toctree:: first second Index <:ref:`genindex...
Totalizator asked 11/8, 2014 at 12:36

2

I'm using sphinx with the numpydoc extension and autosummary. After some experimentation, I added the following options to my conf.py file. autosummary_generate = True numpydoc_show_class_members ...
Chickenhearted asked 9/7, 2016 at 1:22

2

If I have the following in index.rst: This Section ------------ .. toctree:: :caption: This Section :maxdepth: 1 this_section/intro this_section/body this_section/outro Then "This Sect...
Augustusaugy asked 29/6, 2021 at 19:45

1

I'm new to Sphinx and have been searching for a solution to this question for a while. My Index Page is made from index.rst which contains a toctree. The page displays the TOC in the body as well ...
Kelcie asked 24/1, 2019 at 14:29

8

Solved

I am using Sphinx to document a non-Python project. I want to distribute ./doc folders in each submodule, containing submodule_name.rst files to document that module. I then want to suck those file...
Ministry asked 17/4, 2012 at 21:12

2

Solved

I am using Sphinx to create documentation for a Python module. I wold like to add subtitles on a page but I don't want them to appear in the toctree. I want small sections and short (few lines) des...
Chartist asked 1/6, 2017 at 14:45

5

Is it possible to hide one (or all) subsections present in a RST file from the main TOCTree? Let me describe a little more: index.rst :doc:`Label <path/to/rst/file>` ^^^^^^^^^^^^^^^^^^^^^^...
Bonded asked 23/2, 2013 at 0:32

1

Solved

I've got something like this: .. toctree:: :maxdepth: 2 :caption: Contents: :hidden: :glob: docs frontend backend tools/* I'd like all the documents found in the tools directory to collap...
Monachism asked 15/12, 2020 at 17:40

2

I'm running into a problem in structuring my Sphinx users guide. I would like to form a chapter by having a main landing page (index.rst) that contains the chapter heading and an overview, and then...
Donyadoodad asked 13/8, 2014 at 0:48

1

I have some Sphinx based documentation for a library I built and I'd like to display the expanded table of contents for all my pages except for the changelog. I figured out how to do it by moving t...
Biogen asked 18/5, 2019 at 3:32

2

Solved

I am having an issue with getting the table of contents (TOC) to display subsections of the front page of my documentation. I have a number of sections on my front page, and I would like these to ...
Ghats asked 18/12, 2013 at 3:3

3

Solved

I have configured Sphinx to use markdown files. In my index.rst file I have .. toctree:: :maxdepth: 2 :caption: Contents: documents/Markdown In Markdown.md I have # Markdown ## H2 Head...
Chenay asked 21/2, 2019 at 5:50

1

Solved

Trying to generate documentation with Sphinx. First using: sphinx-apidoc Then using: sphinx-build html And I got this warning about the modules.rst file. The file exists, the html is also generated...
Dermatome asked 9/7, 2020 at 19:48

1

Solved

I'm developing documentation in Sphinx, and would like to separate sections in my table of contents using horizontal bars. I often see this in menus: Is there a way to do it in sphinx?
Recessional asked 29/4, 2020 at 13:28

© 2022 - 2024 — McMap. All rights reserved.