summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2020-02-15 16:45:13 +0300
committerGitHub <noreply@github.com>2020-02-15 16:45:13 +0300
commitfdfd9a4dad24fac41b12a11ea3db255c870cd166 (patch)
treeef6200995a877aa9ab8c8c9644bde6058a2f1063 /spec/fixtures
parentd3dd792c7ca6c3d128952379dae7af60db1a20a5 (diff)
resolves #300 search for `front-matter.html` in document dir instead of CWD (PR #301)
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/front-matter/book.adoc4
-rw-r--r--spec/fixtures/front-matter/chapter.adoc1
-rw-r--r--spec/fixtures/front-matter/front-matter.html11
-rw-r--r--spec/fixtures/front-matter/square.pngbin0 -> 157 bytes
4 files changed, 16 insertions, 0 deletions
diff --git a/spec/fixtures/front-matter/book.adoc b/spec/fixtures/front-matter/book.adoc
new file mode 100644
index 0000000..46560c6
--- /dev/null
+++ b/spec/fixtures/front-matter/book.adoc
@@ -0,0 +1,4 @@
+= Front matter book
+:doctype: book
+
+include::chapter.adoc[leveloffset=+1]
diff --git a/spec/fixtures/front-matter/chapter.adoc b/spec/fixtures/front-matter/chapter.adoc
new file mode 100644
index 0000000..31b7fa2
--- /dev/null
+++ b/spec/fixtures/front-matter/chapter.adoc
@@ -0,0 +1 @@
+= Chapter
diff --git a/spec/fixtures/front-matter/front-matter.html b/spec/fixtures/front-matter/front-matter.html
new file mode 100644
index 0000000..7f4d1bb
--- /dev/null
+++ b/spec/fixtures/front-matter/front-matter.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Title</title>
+</head>
+<body>
+<p>Matter. Front Matter.</p>
+<img src="square.png" alt="Quadratisch"/>
+</body>
+</html>
diff --git a/spec/fixtures/front-matter/square.png b/spec/fixtures/front-matter/square.png
new file mode 100644
index 0000000..978fd0a
--- /dev/null
+++ b/spec/fixtures/front-matter/square.png
Binary files differ