Update for changes in github pages

This commit is contained in:
Dave Syer 2016-04-25 17:57:17 +01:00 committed by Rob Winch
parent af3d62e9b5
commit 005e0a6730
4 changed files with 137 additions and 44 deletions

View File

@ -2,49 +2,133 @@ GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
RedCloth (4.2.9) RedCloth (4.2.9)
classifier (1.3.3) activesupport (4.2.6)
fast-stemmer (>= 1.0.0) i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (0.1) colorator (0.1)
commander (4.1.5) ethon (0.8.1)
highline (~> 1.6.11) ffi (>= 1.3.0)
directory_watcher (1.4.1) execjs (2.6.0)
fast-stemmer (1.0.2) faraday (0.9.2)
github-pages (1) multipart-post (>= 1.2, < 3)
ffi (1.9.10)
gemoji (2.1.0)
github-pages (75)
RedCloth (= 4.2.9) RedCloth (= 4.2.9)
jekyll (= 1.1.2) github-pages-health-check (= 1.1.0)
kramdown (= 1.0.2) jekyll (= 3.0.4)
liquid (= 2.5.1) jekyll-coffeescript (= 1.0.1)
maruku (= 0.6.1) jekyll-feed (= 0.5.1)
rdiscount (= 1.6.8) jekyll-gist (= 1.4.0)
redcarpet (= 2.2.2) jekyll-github-metadata (= 1.11.1)
highline (1.6.19) jekyll-mentions (= 1.1.2)
jekyll (1.1.2) jekyll-paginate (= 1.1.0)
classifier (~> 1.3) jekyll-redirect-from (= 0.10.0)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 1.3.3)
jekyll-sitemap (= 0.10.0)
jekyll-textile-converter (= 0.1.0)
jemoji (= 0.6.2)
kramdown (= 1.10.0)
liquid (= 3.0.6)
listen (= 3.0.6)
mercenary (~> 0.3)
rdiscount (= 2.1.8)
redcarpet (= 3.3.3)
rouge (= 1.10.1)
terminal-table (~> 1.4)
github-pages-health-check (1.1.0)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (2.4.0)
activesupport (>= 2, < 5)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.0.4)
colorator (~> 0.1) colorator (~> 0.1)
commander (~> 4.1.3) jekyll-sass-converter (~> 1.0)
directory_watcher (~> 1.4.1) jekyll-watch (~> 1.1)
kramdown (~> 1.0.2) kramdown (~> 1.3)
liquid (~> 2.5.1) liquid (~> 3.0)
maruku (~> 0.5) mercenary (~> 0.3.3)
pygments.rb (~> 0.5.0) rouge (~> 1.7)
redcarpet (~> 2.2.2) safe_yaml (~> 1.0)
safe_yaml (~> 0.7.0) jekyll-coffeescript (1.0.1)
kramdown (1.0.2) coffee-script (~> 2.2)
liquid (2.5.1) jekyll-feed (0.5.1)
maruku (0.6.1) jekyll-gist (1.4.0)
syntax (>= 1.0.0) octokit (~> 4.2)
posix-spawn (0.3.6) jekyll-github-metadata (1.11.1)
pygments.rb (0.5.2) octokit (~> 4.0)
posix-spawn (~> 0.3.6) jekyll-mentions (1.1.2)
yajl-ruby (~> 1.1.0) html-pipeline (~> 2.3)
rdiscount (1.6.8) jekyll (~> 3.0)
redcarpet (2.2.2) jekyll-paginate (1.1.0)
safe_yaml (0.7.1) jekyll-redirect-from (0.10.0)
syntax (1.0.0) jekyll (>= 2.0)
yajl-ruby (1.1.0) jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (1.3.3)
jekyll (~> 3.0)
jekyll-sitemap (0.10.0)
jekyll-textile-converter (0.1.0)
RedCloth (~> 4.0)
jekyll-watch (1.3.1)
listen (~> 3.0)
jemoji (0.6.2)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
json (1.8.3)
kramdown (1.10.0)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.0.0)
minitest (5.8.4)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
public_suffix (1.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rdiscount (2.1.8)
redcarpet (3.3.3)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.22)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.5.2)
thread_safe (0.3.5)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
github-pages github-pages
BUNDLED WITH
1.11.2

View File

@ -4,6 +4,9 @@ Spring's project pages are based on [Jekyll](http://jekyllrb.com) and [GitHub Pa
This approach may sound a little funky (and it is), but it's way better than the misery of Git submodules. In fact, it's actually pretty easy. If you're just getting started, then follow the directions immediately below. If you're needing a refresher on how to keep things up to date, then head to the section at the bottom on "keeping up to date". This approach may sound a little funky (and it is), but it's way better than the misery of Git submodules. In fact, it's actually pretty easy. If you're just getting started, then follow the directions immediately below. If you're needing a refresher on how to keep things up to date, then head to the section at the bottom on "keeping up to date".
> ***Note:*** Github changed their rendering (a lot) in April 2016. If you are seeing pages build failures since that time, then you probably need to merge some changes from this upstream. Follow the instructions below, and for testing locally use rubiy 2.x and don't forget to `bundle exec ...` everything.
# How to start a new `gh-pages` project page # How to start a new `gh-pages` project page
@ -95,7 +98,7 @@ Assuming you're already within your project's clone directory, and you've alread
### Install jekyll if you have not already ### Install jekyll if you have not already
> **Note:** Jekyll 1.1.2 is a known good version, and it is specifically referred to in `Gemfile.lock` so you have to use `bundle` (not `gem install ...`) to install it: > **Note:** Jekyll 3.0.4 is a known good version, and it is specifically referred to in `Gemfile.lock` so you have to use `bundle` (not `gem install ...`) to install it:
gem install bundler gem install bundler
bundle bundle

View File

@ -1,11 +1,17 @@
### Global gh-pages pre-amble ### Global gh-pages pre-amble
safe: true safe: true
lsi: false lsi: false
pygments: true highlighter: rouge
markdown: redcarpet markdown: kramdown
redcarpet: encoding: UTF-8
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] github: [metadata]
kramdown:
input: GFM
hard_wrap: false
smart_quotes: ["apos", "apos", "quot", "quot"]
gems:
- jekyll-coffeescript
- jekyll-paginate
### The following properties will change on a project-by-project basis ### The following properties will change on a project-by-project basis

View File

@ -8,7 +8,7 @@ $(document).ready(function() {
Spring.configureCopyButtons = function() { Spring.configureCopyButtons = function() {
if (ZeroClipboard.detectFlashSupport()) { if (ZeroClipboard.detectFlashSupport()) {
$(".highlight > pre").each(function(index) { $("pre.highlight").each(function(index) {
Spring.buildCopyButton($(this), index); Spring.buildCopyButton($(this), index);
} }
); );