summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-tocdepth/bar.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-tocdepth/bar.rst')
-rw-r--r--tests/roots/test-tocdepth/bar.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/roots/test-tocdepth/bar.rst b/tests/roots/test-tocdepth/bar.rst
new file mode 100644
index 0000000..d70dec9
--- /dev/null
+++ b/tests/roots/test-tocdepth/bar.rst
@@ -0,0 +1,27 @@
+:tocdepth: 2
+
+===
+Bar
+===
+
+should be 2
+
+Bar A
+=====
+
+should be 2.1
+
+.. toctree::
+
+ baz
+
+Bar B
+=====
+
+should be 2.2
+
+Bar B1
+------
+
+should be 2.2.1
+