summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-19 09:47:36 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-19 09:47:36 +0100
commitec586dd3cdf06e9567f5d3e4961022ddc3c94778 (patch)
treecc7825ab73110b4e6fbedee404427b052edffa17 /test/fixtures
parent80432161708357bdcf0e00533d9e6d327636dab6 (diff)
downloadgitbook-ec586dd3cdf06e9567f5d3e4961022ddc3c94778.zip
gitbook-ec586dd3cdf06e9567f5d3e4961022ddc3c94778.tar.gz
gitbook-ec586dd3cdf06e9567f5d3e4961022ddc3c94778.tar.bz2
Clear folder
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/ALTERNATIVE_SUMMARY.md13
-rw-r--r--test/fixtures/FALSE_QUIZ.md120
-rw-r--r--test/fixtures/GITHUB_LINKS.md3
-rw-r--r--test/fixtures/GLOSSARY.md30
-rw-r--r--test/fixtures/HR_PAGE.md11
-rw-r--r--test/fixtures/IMAGES.md12
-rw-r--r--test/fixtures/INCLUDES.md29
-rw-r--r--test/fixtures/MARKDOWN_LINKS.md5
-rw-r--r--test/fixtures/PAGE.md68
-rw-r--r--test/fixtures/QUIZ_PAGE.md48
-rw-r--r--test/fixtures/README.md7
-rw-r--r--test/fixtures/SECTIONS.md68
-rw-r--r--test/fixtures/SUMMARY.md12
-rw-r--r--test/fixtures/SUMMARY_WHITESPACE.md15
-rw-r--r--test/fixtures/book1/README.md2
-rw-r--r--test/fixtures/book1/SUMMARY.md3
-rw-r--r--test/fixtures/book1/test.md1
-rw-r--r--test/fixtures/book2/README.md1
-rw-r--r--test/fixtures/included.c7
19 files changed, 0 insertions, 455 deletions
diff --git a/test/fixtures/ALTERNATIVE_SUMMARY.md b/test/fixtures/ALTERNATIVE_SUMMARY.md
deleted file mode 100644
index e0d0114..0000000
--- a/test/fixtures/ALTERNATIVE_SUMMARY.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Summary
-
-* [Custom name for Introduction](README.md)
-* [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)
- * Unfinished article
-* Unfinished Chapter
diff --git a/test/fixtures/FALSE_QUIZ.md b/test/fixtures/FALSE_QUIZ.md
deleted file mode 100644
index 46f9a00..0000000
--- a/test/fixtures/FALSE_QUIZ.md
+++ /dev/null
@@ -1,120 +0,0 @@
-# Learn Node.js by Example
-
-
-## Requirements
-
-- [x] A computer with internet access
-- [ ] Time: 30h (e.g. 2 months 30 mins per day or **1 week intensive**)
-
-
-## What is Node.js ?
-
-Node.js lets you *easily* build networked software (websites, applications "apps",
-using JavaScript).
-
-Its not "*point-and-click*" like WordPress, SquareSpace or Salesforce;
-you will need to write some "code". But as I will demonstrate, that's
-a *lot* easier than it sounds and gives you more power/flexibility
-and puts you in full control.
-
-## Node.js is not "Version 1.0" yet can I used it in Production?
-
-Yes! Some of the biggest organisations/companies in the world
-are using Node.js in Production systems:
-
-[Alibaba](https://github.com/alibaba/node-hbase-client),
-[Ajax.org](Ajax.org),
-[Box.com](http://tech.blog.box.com/2014/06/node-js-high-availability-at-box/), British Sky Broadcasting (Sky/Now TV),
-CNN,
-[Cloudup](https://cloudup.com/),
-Conde Nast,
-[DirectTV](http://strongloop.com/strongblog/node-summit-media-companies-embrace-node-js-for-rapidly-developing-responsive-apps/),
-[Dow Jones](http://nodejs.org/industry),
-eBay,
-[FeedHenry](http://www.feedhenry.com/),
-[GitHub](https://twitter.com/github/status/16979699217465344),
-[Google](http://venturebeat.com/2012/01/24/node-at-google-mozilla-yahoo/),
-[Groupon](http://nodeup.com/fiftyeight),
-HBO,
-Help.com,
-[HP](https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node),
-iTV,
-[Joyent](https://www.joyent.com/) (duh!),
-[Klout](https://klout.com),
-LinkedIn,
-McDonalds,
-[Medium](https://medium.com/the-story),
-Mozilla,
-NetFlix,
-[OpenTable](http://hapijs.com/community),
-PayPal,
-Pearson,
-~~Q~~,
-[Revolt](http://revolt.tv/),
-[Square](https://modulus.io/companies-using-node),
-Tesco,
-ThomasCook,
-Trello,
-Uber,
-Voxer,
-Walmart,
-Wikimedia (in progress of moving to SOA with node!)
-Yahoo,
-Yammer,
-[Yandex](https://www.youtube.com/watch?v=zdCxgdH4wZo),
-[Zendesk](http://radar.zendesk.com/)
-
-Want more? See: http://nodejs.org/industry/ and <br />
-https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node
-
-
-# Try it!
-
-## Download & Install
-
-> http://nodejs.org/download/
-
-
-## Node.js (Core) API
-
-The node.js ("core") has many useful modules.
-
-Bookmark: [http://nodejs.org/api](http://nodejs.org/api/) (you will come back to it)
-
-
-
-## Stability (Can we use it?)
-
-> *Which node.js* ***core*** *package(s) can/should I use?*
-
-Every core module has a
-["***Stability Index***"](http://nodejs.org/api/documentation.html#documentation_stability_index)
-rating on the node.js API.
-
-**General rule**: If you are being *paid* to write code
-that runs in node.js, <br /> pick core modules/methods
-with stability **Stable**, **API Frozen** and **Locked**.
-
-![Node.js Stability Index](http://i.imgur.com/xIroFrS.png)
-
-
-### Examples
-
-- [**cluster**](http://nodejs.org/api/cluster.html) is ***Experimental*** - don't use
-- [**domain**](http://nodejs.org/api/domain.html) is ***Unstable*** - don't use
-- [**path**](http://nodejs.org/api/path.html) is ***Stable*** - use
-- [**events**](http://nodejs.org/api/events.html) is ***Frozen*** - use
-- [**assert**](http://nodejs.org/api/assert.html) is ***Locked*** - use
-
-Core Modules to Learn
-
-- path
-- os
-
-
-
-Community Modules to Learn:
-
-- [jscs](https://www.npmjs.org/package/jscs) - code style checker
-- [q](https://www.npmjs.org/package/q) - promises library
-- [nd](https://www.npmjs.org/package/nd) - view documentation for a module
diff --git a/test/fixtures/GITHUB_LINKS.md b/test/fixtures/GITHUB_LINKS.md
deleted file mode 100644
index f0039dd..0000000
--- a/test/fixtures/GITHUB_LINKS.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Nice course
-
-Check out this source file [in C++](../src/something.cpp)
diff --git a/test/fixtures/GLOSSARY.md b/test/fixtures/GLOSSARY.md
deleted file mode 100644
index 5969902..0000000
--- a/test/fixtures/GLOSSARY.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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/test/fixtures/HR_PAGE.md b/test/fixtures/HR_PAGE.md
deleted file mode 100644
index 49115d0..0000000
--- a/test/fixtures/HR_PAGE.md
+++ /dev/null
@@ -1,11 +0,0 @@
-## Wow such book
-
-Some nice content here
-
----
-
-A beautiful separator, but non an exercise or a quiz !
-
----
-
-Some more beautiful text, because `this` book is awesome ...
diff --git a/test/fixtures/IMAGES.md b/test/fixtures/IMAGES.md
deleted file mode 100644
index 99ffa00..0000000
--- a/test/fixtures/IMAGES.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Images Test
-
-This is a test for images path calculation. It supposed this fiel is in a syntax/ folder
-
-### #
-
-[![Screen](./preview.png)](./preview.png)
-
-### 2
-
-[![Screen](../preview2.png)](./preview2.png)
-
diff --git a/test/fixtures/INCLUDES.md b/test/fixtures/INCLUDES.md
deleted file mode 100644
index 22e3a61..0000000
--- a/test/fixtures/INCLUDES.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Beautiful chapter
-
-Here is a nice included snippet :
-
-```c
-{{ included.c }}
-```
-
-----
-
-An exercise using includes
-
-```c
-{{ included.c }}
-
-Remove this extra code at the end
-```
-
-```c
-{{ included.c }}
-```
-
-```c
-{{ included.c }}
-
-This validation code is wrong but who cares ?
-```
-
-----
diff --git a/test/fixtures/MARKDOWN_LINKS.md b/test/fixtures/MARKDOWN_LINKS.md
deleted file mode 100644
index e0d5820..0000000
--- a/test/fixtures/MARKDOWN_LINKS.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Nice course
-
-Check out this other chapter [Test](test.md)
-
-Check out this other chapter [Test](../before.md)
diff --git a/test/fixtures/PAGE.md b/test/fixtures/PAGE.md
deleted file mode 100644
index 77a6ce9..0000000
--- a/test/fixtures/PAGE.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# Python basics
-
-Python is a nice language, you can add stuff. Bla bla bla.
-
-Lets jump into an exercise :
-
----
-
-It's dead simple, `c` must be the sum of `a` and `b`
-
-```py
-a = 1
-b = 2
-```
-
-```py
-a = 1
-b = 2
-c = a + b
-```
-
-```py
-assert(c, 3)
-```
-
----
-
-Some more nice content ....
-
-[Cool stuff](http://gitbook.com)
-
-[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 :
-
----
-
-Exercise with some context code :
-
-Using the `double` function provided, build a `quadruple` function
-
-```py
-
-```
-
-```py
-
-def quadruple(x):
- return double(double(x))
-
-```
-
-```py
-assert(quadruple(8), 32)
-```
-
-```py
-
-def double(x):
- return x * 2
-
-```
-
----
-
diff --git a/test/fixtures/QUIZ_PAGE.md b/test/fixtures/QUIZ_PAGE.md
deleted file mode 100644
index 21b2a9d..0000000
--- a/test/fixtures/QUIZ_PAGE.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Gitbook quiz
-
-Gitbook lets you write a quiz using GFM tables:
-
----
-
-Here's a quiz about Gitbook
-
-| | Good | Bad |
-| ---------------- | ---- | --- |
-| What is Gitbook? | (x) | ( ) |
-
-> Gitbook is good
-
-What does Gitbook support?
-- [x] Table-based questions with radio buttons
-- [x] Table-based questions with checkboxes
-- [ ] Telepathy
-- [x] List-based questions with checkboxes
-- [x] List-based questions with radio buttons
-- [ ] Moon-on-a-stick
-
-> Gitbook supports table and list based quiz questions using either radio buttons or checkboxes.
->
-> Gitbook is not telepathic and does not give you the moon on a stick.
-
----
-
-Some more nice content ....
-
-[Cool stuff](http://gitbook.com)
-
-[Link to another Markdown file](./xyz/file.md)
-
----
-
-Quiz test 2: What does Gitbook support?
-- [x] Table-based questions with radio buttons
-- [x] Table-based questions with checkboxes
-- [ ] Telepathy
-- [x] List-based questions with checkboxes
-- [x] List-based questions with radio buttons
-- [ ] Moon-on-a-stick
-
-> Gitbook supports table and list based quiz questions using either radio buttons or checkboxes.
-
----
-
diff --git a/test/fixtures/README.md b/test/fixtures/README.md
deleted file mode 100644
index 7e20198..0000000
--- a/test/fixtures/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# This is the title
-
-This is the book description.
-
-other content
-...
-
diff --git a/test/fixtures/SECTIONS.md b/test/fixtures/SECTIONS.md
deleted file mode 100644
index 3405605..0000000
--- a/test/fixtures/SECTIONS.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# Title
-
-Some text
-
----
-
-## NOT Exercise
-
-Simple subsection NOT exercise
-
-```
-x = 1
-```
-
-What is this
-
-```
-y = [1, 2, 3]
-```
-
-```
-z = {a: 1, b: 2}
-```
-
----
-
-## Exercise
-
-Define a variable `x` equal to 10.
-
-```js
-var x =
-```
-
-```js
-var x = 10;
-```
-
-```js
-assert(x == 10);
-```
-
-```js
-// This is context code available everywhere
-// The user will be able to call magicFunc in his code
-function magicFunc() {
- return 3;
-}
-```
-
----
-
-## Another exercise
-
-Bla bla bla ... This time with no `context` code.
-
-
-```js
-var x =
-```
-
-```js
-var x = 10;
-```
-
-```js
-assert(x == 10);
-```
diff --git a/test/fixtures/SUMMARY.md b/test/fixtures/SUMMARY.md
deleted file mode 100644
index 3bf4a88..0000000
--- a/test/fixtures/SUMMARY.md
+++ /dev/null
@@ -1,12 +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)
- * Unfinished article
-* Unfinished Chapter
diff --git a/test/fixtures/SUMMARY_WHITESPACE.md b/test/fixtures/SUMMARY_WHITESPACE.md
deleted file mode 100644
index 10a7100..0000000
--- a/test/fixtures/SUMMARY_WHITESPACE.md
+++ /dev/null
@@ -1,15 +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)
-
- * Unfinished article
-
-* Unfinished Chapter
diff --git a/test/fixtures/book1/README.md b/test/fixtures/book1/README.md
deleted file mode 100644
index c01d3fb..0000000
--- a/test/fixtures/book1/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# This is a test
-
diff --git a/test/fixtures/book1/SUMMARY.md b/test/fixtures/book1/SUMMARY.md
deleted file mode 100644
index 20ec7b8..0000000
--- a/test/fixtures/book1/SUMMARY.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Summary
-
-* [test](test.md) \ No newline at end of file
diff --git a/test/fixtures/book1/test.md b/test/fixtures/book1/test.md
deleted file mode 100644
index 8ae0569..0000000
--- a/test/fixtures/book1/test.md
+++ /dev/null
@@ -1 +0,0 @@
-# Test
diff --git a/test/fixtures/book2/README.md b/test/fixtures/book2/README.md
deleted file mode 100644
index 13c54db..0000000
--- a/test/fixtures/book2/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# This should fail
diff --git a/test/fixtures/included.c b/test/fixtures/included.c
deleted file mode 100644
index d9323e3..0000000
--- a/test/fixtures/included.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdio.h>
-
-int main(int argc, char *argv[]) {
- printf("All is well\n");
-
- return 0;
-}