summaryrefslogtreecommitdiff
path: root/spec/_layouts/default.yml
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-26 21:59:30 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-27 12:06:10 -0700
commit0261598fb49f4ac0509dac0c27f867861dc742a0 (patch)
tree4e196338408ce2cc7a672e941a7216071ba34a1b /spec/_layouts/default.yml
parent71c1716ae4f16a05825695a33d480ac194c5ae09 (diff)
downloadscala-0261598fb49f4ac0509dac0c27f867861dc742a0.tar.gz
scala-0261598fb49f4ac0509dac0c27f867861dc742a0.tar.bz2
scala-0261598fb49f4ac0509dac0c27f867861dc742a0.zip
Jekyll generated html in spec/ directory
To avoid confusion, removing artifacts for currently unsupported targets (pdf/single-page html). I'd like to bring those back, but in the mean time let's avoid distractions. Add Travis build.
Diffstat (limited to 'spec/_layouts/default.yml')
-rw-r--r--spec/_layouts/default.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/spec/_layouts/default.yml b/spec/_layouts/default.yml
new file mode 100644
index 0000000000..7f17ba30b0
--- /dev/null
+++ b/spec/_layouts/default.yml
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ tex2jax: {
+ inlineMath: [['$','$'], ['\\(','\\)']],
+ skipTags: ['script', 'noscript', 'style', 'textarea'],
+ processEscapes: true
+ }
+ });
+ </script>
+ <script type="text/javascript" src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+
+ <!-- need to use include to see value of page.chapter variable -->
+ <style type="text/css">
+ {% include numbering.css %}
+ </style>
+ <script type="text/javascript">
+ // clear content of H3 nodes that start with "Example:"
+ // the content is only there to determine ID of the H3 element (redcarpet doesn't let us set css id)
+ $( document ).ready(function(){ $("h3[id*='example']").text("") })
+ </script>
+
+ <link rel="stylesheet" type="text/css" href="public/stylesheets/screen.css">
+
+</head>
+
+<body>
+
+{{ content }}
+
+</body>
+</html> \ No newline at end of file