aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-25 14:14:40 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-25 14:14:40 -0600
commitee99902feaf62a60d006a5187815bdf4aa45e8b7 (patch)
treeafbbda16b14ee7401f6c57d5580d9d5473c97b14 /etc
parent438deebf05347dc79797b1c476da0e65c0a5346f (diff)
downloadspec-ee99902feaf62a60d006a5187815bdf4aa45e8b7.tar.gz
spec-ee99902feaf62a60d006a5187815bdf4aa45e8b7.zip
build both HTML and PDF distributions
Diffstat (limited to 'etc')
-rw-r--r--etc/md.yml23
-rw-r--r--etc/pdf.yml20
2 files changed, 43 insertions, 0 deletions
diff --git a/etc/md.yml b/etc/md.yml
new file mode 100644
index 0000000..aece004
--- /dev/null
+++ b/etc/md.yml
@@ -0,0 +1,23 @@
+from: markdown
+to: html5
+
+standalone: true
+
+verbosity: INFO
+
+top-level-division: chapter
+
+pdf-engine: weasyprint
+
+table-of-contents: false
+number-sections: true
+shift-heading-level-by: 1
+title-prefix: "Crowbar Specification: "
+eol: lf
+
+# syntax-definition:
+
+fail-if-warnings: true
+dump-args: false
+ignore-args: false
+trace: false
diff --git a/etc/pdf.yml b/etc/pdf.yml
new file mode 100644
index 0000000..5ef3857
--- /dev/null
+++ b/etc/pdf.yml
@@ -0,0 +1,20 @@
+from: html
+to: pdf
+
+standalone: true
+
+metadata:
+ title: "Crowbar Specification"
+
+verbosity: INFO
+
+top-level-division: chapter
+
+pdf-engine: weasyprint
+
+table-of-contents: true
+
+fail-if-warnings: true
+dump-args: false
+ignore-args: false
+trace: false