From 3a72a9d1109e995b9c4de70f260ac3b5ac8f73b9 Mon Sep 17 00:00:00 2001 From: Antoine Gourlay Date: Mon, 22 Sep 2014 14:29:32 +0200 Subject: spec: generated TOC with linkable headers This adds a table of contents to the spec, with a way to get the link of a header on hover (like on GitHub) and a "return to top" small icon at the end of each section. Jekyll generates the H1-level table of contents, and then the current one is expended using jQuery all the way down to H5 titles. Examples and H6 headers are ignored. GitHub's (MIT licensed) octicons are used for nice "link" and "up" icons. --- spec/public/octicons/octicons.woff | Bin 0 -> 17492 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 spec/public/octicons/octicons.woff (limited to 'spec/public/octicons/octicons.woff') diff --git a/spec/public/octicons/octicons.woff b/spec/public/octicons/octicons.woff new file mode 100644 index 0000000000..2b770e429f Binary files /dev/null and b/spec/public/octicons/octicons.woff differ -- cgit v1.2.3