summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/test/fixtures
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-21 10:18:15 +0100
committerSamy Pessé <samypesse@gmail.com>2016-12-22 11:46:14 +0100
commita81a503ff0bbbf66f6fefb7090f8516071ae817a (patch)
tree5a255d8453a3c4705083c6a6a4eba2f76fee7acf /packages/gitbook-asciidoc/test/fixtures
parent11893255d1167382b16871d2ca831c90a40af57d (diff)
downloadgitbook-a81a503ff0bbbf66f6fefb7090f8516071ae817a.zip
gitbook-a81a503ff0bbbf66f6fefb7090f8516071ae817a.tar.gz
gitbook-a81a503ff0bbbf66f6fefb7090f8516071ae817a.tar.bz2
Add base to parse asciidoc
Diffstat (limited to 'packages/gitbook-asciidoc/test/fixtures')
-rwxr-xr-xpackages/gitbook-asciidoc/test/fixtures/GLOSSARY.adoc32
-rwxr-xr-xpackages/gitbook-asciidoc/test/fixtures/LANGS.adoc4
-rwxr-xr-xpackages/gitbook-asciidoc/test/fixtures/PAGE.adoc14
-rwxr-xr-xpackages/gitbook-asciidoc/test/fixtures/README.adoc6
-rwxr-xr-xpackages/gitbook-asciidoc/test/fixtures/SUMMARY.adoc12
5 files changed, 68 insertions, 0 deletions
diff --git a/packages/gitbook-asciidoc/test/fixtures/GLOSSARY.adoc b/packages/gitbook-asciidoc/test/fixtures/GLOSSARY.adoc
new file mode 100755
index 0000000..75be225
--- /dev/null
+++ b/packages/gitbook-asciidoc/test/fixtures/GLOSSARY.adoc
@@ -0,0 +1,32 @@
+= Glossary
+
+== Magic
+Sufficiently advanced technology, beyond the understanding of the observer producing a sense of wonder.
+
+Hello, I am random noise in the middle of this beautiful Glossary. (Really astonishing !)
+
+== PHP
+An atrocious language, invented for the sole purpose of inflicting pain and suffering amongst the proframming wizards of this world.
+
+== Clojure
+Lisp re-invented for hipsters.
+
+== Go
+Go Go Google [Wow](https://www.google.com)
+
+Fantastic, I love code too ! :
+
+```py
+
+def f(x):
+ return x * 4
+
+# Wow this is some really awesome code
+# totally mind blowing
+# but we don't care, it shouldn't be in our glossary !
+print(f(9))
+```
+
+== Gitbook
+
+Awesome project. Really amazing, I'm really at a loss for words ...
diff --git a/packages/gitbook-asciidoc/test/fixtures/LANGS.adoc b/packages/gitbook-asciidoc/test/fixtures/LANGS.adoc
new file mode 100755
index 0000000..8ea9e11
--- /dev/null
+++ b/packages/gitbook-asciidoc/test/fixtures/LANGS.adoc
@@ -0,0 +1,4 @@
+= Languages
+
+. link:en/[English]
+. link:en/[French]
diff --git a/packages/gitbook-asciidoc/test/fixtures/PAGE.adoc b/packages/gitbook-asciidoc/test/fixtures/PAGE.adoc
new file mode 100755
index 0000000..a9afbac
--- /dev/null
+++ b/packages/gitbook-asciidoc/test/fixtures/PAGE.adoc
@@ -0,0 +1,14 @@
+= Python basics
+
+Python is a nice language, you can add stuff. Bla bla bla.
+
+Some more nice content ....
+
+[Cool stuff](http://gitbook.io)
+
+[Link to another Markdown file](./xyz/file.md)
+
+And look at this pretty picture:
+![Pretty](../assets/my-pretty-picture.png "Pretty")
+
+Lets go for another exercise but this time with some context :
diff --git a/packages/gitbook-asciidoc/test/fixtures/README.adoc b/packages/gitbook-asciidoc/test/fixtures/README.adoc
new file mode 100755
index 0000000..12687b6
--- /dev/null
+++ b/packages/gitbook-asciidoc/test/fixtures/README.adoc
@@ -0,0 +1,6 @@
+= This is the title
+
+This is the book description.
+
+other content
+...
diff --git a/packages/gitbook-asciidoc/test/fixtures/SUMMARY.adoc b/packages/gitbook-asciidoc/test/fixtures/SUMMARY.adoc
new file mode 100755
index 0000000..8f97fa0
--- /dev/null
+++ b/packages/gitbook-asciidoc/test/fixtures/SUMMARY.adoc
@@ -0,0 +1,12 @@
+= Summary
+
+. link:chapter-1/README.adoc[Chapter 1]
+.. link:chapter-1/ARTICLE1.adoc[Article 1]
+.. link:chapter-1/ARTICLE2.adoc[Article 2]
+... link:\chapter-1\ARTICLE-1-2-1.adoc[Article 1.2.1]
+... link:\chapter-1\ARTICLE-1-2-2.adoc[Article 1.2.2]
+. link:chapter-2/README.adoc[Chapter 2]
+. link:chapter-3/README.adoc[Chapter 3]
+. link:chapter-4/README.adoc[Chapter 4]
+.. Unfinished article
+. Unfinished Chapter