diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-19 15:26:31 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-19 15:26:31 +0100 |
commit | 793600ab2fe3923062b06dd25e59655805882409 (patch) | |
tree | c385fbadece8b41b69dbd995a94744a1370f01e2 /test/fixtures | |
parent | 354b4afba1ddd1f86fb587da0c74388df89dbc28 (diff) | |
download | gitbook-793600ab2fe3923062b06dd25e59655805882409.zip gitbook-793600ab2fe3923062b06dd25e59655805882409.tar.gz gitbook-793600ab2fe3923062b06dd25e59655805882409.tar.bz2 |
Improve test to test a all book
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/summary/markdown/SUMMARY.md | 11 | ||||
-rw-r--r-- | test/fixtures/test1/README.md | 4 | ||||
-rw-r--r-- | test/fixtures/test1/SUMMARY.md | 6 | ||||
-rw-r--r-- | test/fixtures/test1/book.json | 5 | ||||
-rw-r--r-- | test/fixtures/test1/intro.md | 4 |
5 files changed, 19 insertions, 11 deletions
diff --git a/test/fixtures/summary/markdown/SUMMARY.md b/test/fixtures/summary/markdown/SUMMARY.md deleted file mode 100644 index a51deae..0000000 --- a/test/fixtures/summary/markdown/SUMMARY.md +++ /dev/null @@ -1,11 +0,0 @@ -# Summary - -* [Chapter 1](chapter-1/README.md) - * [Article 1](chapter-1/ARTICLE1.md) - * [Article 2](chapter-1/ARTICLE2.md) - * [article 1.2.1](\chapter-1\ARTICLE-1-2-1.md) - * [article 1.2.2](/chapter-1/ARTICLE-1-2-2.md) -* [Chapter 2](chapter-2/README.md) -* [Chapter 3](chapter-3/README.md) -* [Chapter 4](chapter-4/README.md) - 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..4adaf3e --- /dev/null +++ b/test/fixtures/test1/SUMMARY.md @@ -0,0 +1,6 @@ +# Summary + +* [Chapter 1](test.md) + * [Article 1](test1.md) +* [Chapter 2](test2.md) + 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 + |