summaryrefslogtreecommitdiffstats
path: root/test/fixtures/test1
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/test1')
-rw-r--r--test/fixtures/test1/GLOSSARY.md9
-rw-r--r--test/fixtures/test1/README.md4
-rw-r--r--test/fixtures/test1/SUMMARY.md6
-rw-r--r--test/fixtures/test1/book.json5
-rw-r--r--test/fixtures/test1/intro.md4
-rw-r--r--test/fixtures/test1/sub/test1.md8
6 files changed, 36 insertions, 0 deletions
diff --git a/test/fixtures/test1/GLOSSARY.md b/test/fixtures/test1/GLOSSARY.md
new file mode 100644
index 0000000..dc14550
--- /dev/null
+++ b/test/fixtures/test1/GLOSSARY.md
@@ -0,0 +1,9 @@
+
+# Test
+
+a test text
+
+# Test 2
+
+a second test
+
diff --git a/test/fixtures/test1/README.md b/test/fixtures/test1/README.md
new file mode 100644
index 0000000..2f7a8d4
--- /dev/null
+++ b/test/fixtures/test1/README.md
@@ -0,0 +1,4 @@
+# Test
+
+This file is not parsed by gitbook because the structure is defined in book.json.
+
diff --git a/test/fixtures/test1/SUMMARY.md b/test/fixtures/test1/SUMMARY.md
new file mode 100644
index 0000000..d05fc4a
--- /dev/null
+++ b/test/fixtures/test1/SUMMARY.md
@@ -0,0 +1,6 @@
+# Summary
+
+* [Chapter 1](test.md)
+ * [Article 1](sub/test1.md)
+* [Chapter 2](test2.md)
+* [Google](https://www.google.com)
diff --git a/test/fixtures/test1/book.json b/test/fixtures/test1/book.json
new file mode 100644
index 0000000..82c15c3
--- /dev/null
+++ b/test/fixtures/test1/book.json
@@ -0,0 +1,5 @@
+{
+ "structure": {
+ "readme": "intro.md"
+ }
+} \ No newline at end of file
diff --git a/test/fixtures/test1/intro.md b/test/fixtures/test1/intro.md
new file mode 100644
index 0000000..bf9a1cf
--- /dev/null
+++ b/test/fixtures/test1/intro.md
@@ -0,0 +1,4 @@
+# My Book
+
+Test description
+
diff --git a/test/fixtures/test1/sub/test1.md b/test/fixtures/test1/sub/test1.md
new file mode 100644
index 0000000..d45a4dd
--- /dev/null
+++ b/test/fixtures/test1/sub/test1.md
@@ -0,0 +1,8 @@
+# This file is used to etst links transformations:
+
+This is a relative link [test](../intro.md).
+
+![image](../image.png)
+
+This is a glossary link.
+