Debian Codegraph @

tests/roots/test-toctree/index.rst

raw
1 .. Sphinx Tests documentation master file, created by sphinx-quickstart on Wed Jun 4 23:49:58 2008.
2 You can adapt this file completely to your liking, but it should at least
3 contain the root `toctree` directive.
4
5 Welcome to Sphinx Tests's documentation!
6 ========================================
7
8 Contents:
9
10 .. toctree::
11 :maxdepth: 2
12 :numbered:
13 :caption: Table of Contents
14 :name: mastertoc
15
16 foo
17 bar
18 https://sphinx-doc.org/
19 self
20
21 .. only:: html
22
23 Section for HTML
24 ----------------
25
26 .. toctree::
27
28 baz
29
30 ----------
31 subsection
32 ----------
33
34 subsubsection
35 -------------
36
37 Test for combination of 'globaltoc.html' and hidden toctree
38 ===========================================================
39 .. https://github.com/sphinx-doc/sphinx/issues/1157
40
41 This used to crash:
42
43 .. toctree::
44
45 .. toctree::
46 :hidden:
47
48 Latest reference <https://sphinx-doc.org/latest/>
49 Python <https://python.org/>
50
51 Indices and tables
52 ==================
53
54 * :ref:`genindex`
55 * :ref:`modindex`
56 * :ref:`search`