summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-basic')
-rw-r--r--tests/roots/test-basic/bar.rst2
-rw-r--r--tests/roots/test-basic/conf.py4
-rw-r--r--tests/roots/test-basic/foo.rst6
-rw-r--r--tests/roots/test-basic/index.rst12
4 files changed, 24 insertions, 0 deletions
diff --git a/tests/roots/test-basic/bar.rst b/tests/roots/test-basic/bar.rst
new file mode 100644
index 0000000..1cccd3c
--- /dev/null
+++ b/tests/roots/test-basic/bar.rst
@@ -0,0 +1,2 @@
+bar
+===
diff --git a/tests/roots/test-basic/conf.py b/tests/roots/test-basic/conf.py
new file mode 100644
index 0000000..e10f5e5
--- /dev/null
+++ b/tests/roots/test-basic/conf.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+
+master_doc = 'index'
+exclude_patterns = ['_build']
diff --git a/tests/roots/test-basic/foo.rst b/tests/roots/test-basic/foo.rst
new file mode 100644
index 0000000..468a424
--- /dev/null
+++ b/tests/roots/test-basic/foo.rst
@@ -0,0 +1,6 @@
+foo
+===
+
+.. toctree::
+
+ bar
diff --git a/tests/roots/test-basic/index.rst b/tests/roots/test-basic/index.rst
new file mode 100644
index 0000000..0a4b347
--- /dev/null
+++ b/tests/roots/test-basic/index.rst
@@ -0,0 +1,12 @@
+test-basic
+==========
+
+.. toctree::
+
+ foo
+
+Heading
+-------
+
+Subheading
+~~~~~~~~~~