summaryrefslogtreecommitdiff
path: root/spec/_config.yml
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-27 12:11:04 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-27 18:06:59 -0700
commit1fb0a609e7a6f7ea1452622023f917ae2a647552 (patch)
tree08db10824850fd7854edaa2b30ca470a86c28e2a /spec/_config.yml
parentc34826d1ca183a29f73eb056f69c59a50091ec4d (diff)
parent0261598fb49f4ac0509dac0c27f867861dc742a0 (diff)
downloadscala-1fb0a609e7a6f7ea1452622023f917ae2a647552.tar.gz
scala-1fb0a609e7a6f7ea1452622023f917ae2a647552.tar.bz2
scala-1fb0a609e7a6f7ea1452622023f917ae2a647552.zip
Import markdown spec under spec/
The bulk of the effort was done in: https://github.com/iainmcgin/scala-ref-markdown/ I just ported it to redcarpet 3.1, added a jekyll build to run on Travis, and fixed some long-standing spec bugs. As described in spec/README.md, for now we're only generating an html page per each chapter with a rudimentary toc index. We'll focus on presenting this more nicely first, and then look into a pdf / single-page html version.
Diffstat (limited to 'spec/_config.yml')
-rw-r--r--spec/_config.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/_config.yml b/spec/_config.yml
new file mode 100644
index 0000000000..1052ddedb0
--- /dev/null
+++ b/spec/_config.yml
@@ -0,0 +1,10 @@
+baseurl: /files/archive/spec/2.11
+safe: true
+lsi: false
+highlighter: null
+markdown: redcarpet
+encoding: utf-8
+redcarpet:
+ extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data", "strikethrough", "lax_spacing", "space_after_headers", "superscript", "footnotes"]
+# with_toc_data requires redcarpet 3.1 to get
+# pretty ID attributes for Hn headers (https://github.com/vmg/redcarpet/pull/186)