diff --git a/Gemfile b/Gemfile
index b4d66ba..b700031 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,6 +4,6 @@ group :development do
gem "github-pages"
gem "tzinfo-data"
- gem "foreman", "~> 0.63"
- gem "serve", "~> 1.5"
+ gem "foreman"
+ gem "serve"
end
diff --git a/Gemfile.lock b/Gemfile.lock
index d8185b6..682c357 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -2,56 +2,125 @@ GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
- activesupport (3.2.14)
+ activesupport (3.2.22.5)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
- classifier (1.3.3)
- fast-stemmer (>= 1.0.0)
+ addressable (2.4.0)
+ blankslate (2.1.2.4)
+ classifier-reborn (2.1.0)
+ fast-stemmer (~> 1.0)
+ coffee-script (2.4.1)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.12.2)
colorator (0.1)
- commander (4.1.5)
- highline (~> 1.6.11)
- directory_watcher (1.4.1)
- dotenv (0.8.0)
+ ethon (0.10.1)
+ ffi (>= 1.3.0)
+ execjs (2.7.0)
+ faraday (0.10.1)
+ multipart-post (>= 1.2, < 3)
fast-stemmer (1.0.2)
- foreman (0.63.0)
- dotenv (>= 0.7)
- thor (>= 0.13.6)
- github-pages (1)
+ ffi (1.9.14)
+ foreman (0.82.0)
+ thor (~> 0.19.1)
+ gemoji (2.1.0)
+ github-pages (39)
RedCloth (= 4.2.9)
- jekyll (= 1.1.2)
- kramdown (= 1.0.2)
- liquid (= 2.5.1)
- maruku (= 0.6.1)
- rdiscount (= 1.6.8)
- redcarpet (= 2.2.2)
- highline (1.6.19)
- i18n (0.6.5)
- jekyll (1.1.2)
- classifier (~> 1.3)
+ github-pages-health-check (~> 0.2)
+ jekyll (= 2.4.0)
+ jekyll-coffeescript (= 1.0.1)
+ jekyll-feed (= 0.3.1)
+ jekyll-mentions (= 0.2.1)
+ jekyll-redirect-from (= 0.8.0)
+ jekyll-sass-converter (= 1.3.0)
+ jekyll-sitemap (= 0.8.1)
+ jemoji (= 0.5.0)
+ kramdown (= 1.5.0)
+ liquid (= 2.6.2)
+ maruku (= 0.7.0)
+ mercenary (~> 0.3)
+ pygments.rb (= 0.6.3)
+ rdiscount (= 2.1.7)
+ redcarpet (= 3.3.2)
+ terminal-table (~> 1.4)
+ github-pages-health-check (0.3.2)
+ net-dns (~> 0.6)
+ public_suffix (~> 1.4)
+ typhoeus (~> 0.7)
+ html-pipeline (1.9.0)
+ activesupport (>= 2)
+ nokogiri (~> 1.4)
+ i18n (0.7.0)
+ jekyll (2.4.0)
+ classifier-reborn (~> 2.0)
colorator (~> 0.1)
- commander (~> 4.1.3)
- directory_watcher (~> 1.4.1)
- kramdown (~> 1.0.2)
- liquid (~> 2.5.1)
- maruku (~> 0.5)
- pygments.rb (~> 0.5.0)
- redcarpet (~> 2.2.2)
- safe_yaml (~> 0.7.0)
- kramdown (1.0.2)
- liquid (2.5.1)
- maruku (0.6.1)
- syntax (>= 1.0.0)
- multi_json (1.7.9)
- posix-spawn (0.3.6)
- pygments.rb (0.5.2)
+ jekyll-coffeescript (~> 1.0)
+ jekyll-gist (~> 1.0)
+ jekyll-paginate (~> 1.0)
+ jekyll-sass-converter (~> 1.0)
+ jekyll-watch (~> 1.1)
+ kramdown (~> 1.3)
+ liquid (~> 2.6.1)
+ mercenary (~> 0.3.3)
+ pygments.rb (~> 0.6.0)
+ redcarpet (~> 3.1)
+ safe_yaml (~> 1.0)
+ toml (~> 0.1.0)
+ jekyll-coffeescript (1.0.1)
+ coffee-script (~> 2.2)
+ jekyll-feed (0.3.1)
+ jekyll-gist (1.4.0)
+ octokit (~> 4.2)
+ jekyll-mentions (0.2.1)
+ html-pipeline (~> 1.9.0)
+ jekyll (~> 2.0)
+ jekyll-paginate (1.1.0)
+ jekyll-redirect-from (0.8.0)
+ jekyll (>= 2.0)
+ jekyll-sass-converter (1.3.0)
+ sass (~> 3.2)
+ jekyll-sitemap (0.8.1)
+ jekyll-watch (1.5.0)
+ listen (~> 3.0, < 3.1)
+ jemoji (0.5.0)
+ gemoji (~> 2.0)
+ html-pipeline (~> 1.9)
+ jekyll (>= 2.0)
+ kramdown (1.5.0)
+ liquid (2.6.2)
+ listen (3.0.8)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+ maruku (0.7.0)
+ mercenary (0.3.6)
+ mini_portile2 (2.1.0)
+ multi_json (1.12.1)
+ multipart-post (2.0.0)
+ net-dns (0.8.0)
+ nokogiri (1.7.0.1)
+ mini_portile2 (~> 2.1.0)
+ octokit (4.6.2)
+ sawyer (~> 0.8.0, >= 0.5.3)
+ parslet (1.5.0)
+ blankslate (~> 2.0)
+ posix-spawn (0.3.12)
+ public_suffix (1.5.3)
+ pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
- yajl-ruby (~> 1.1.0)
- rack (1.5.2)
- rack-test (0.6.2)
+ yajl-ruby (~> 1.2.0)
+ rack (1.5.5)
+ rack-test (0.6.3)
rack (>= 1.0)
- rdiscount (1.6.8)
- redcarpet (2.2.2)
- safe_yaml (0.7.1)
+ rb-fsevent (0.9.8)
+ rb-inotify (0.9.7)
+ ffi (>= 0.5.0)
+ rdiscount (2.1.7)
+ redcarpet (3.3.2)
+ safe_yaml (1.0.4)
+ sass (3.4.23)
+ sawyer (0.8.1)
+ addressable (>= 2.3.5, < 2.6)
+ faraday (~> 0.8, < 1.0)
serve (1.5.2)
activesupport (~> 3.2.12)
i18n
@@ -59,19 +128,30 @@ GEM
rack-test (~> 0.6.2)
tilt (~> 1.3.3)
tzinfo
- syntax (1.0.0)
- thor (0.18.1)
+ terminal-table (1.7.3)
+ unicode-display_width (~> 1.1.1)
+ thor (0.19.4)
+ thread_safe (0.3.5)
tilt (1.3.7)
- tzinfo (1.0.1)
- tzinfo-data (1.2013.4)
+ toml (0.1.2)
+ parslet (~> 1.5.0)
+ typhoeus (0.8.0)
+ ethon (>= 0.8.0)
+ tzinfo (1.2.2)
+ thread_safe (~> 0.1)
+ tzinfo-data (1.2016.10)
tzinfo (>= 1.0.0)
- yajl-ruby (1.1.0)
+ unicode-display_width (1.1.2)
+ yajl-ruby (1.2.1)
PLATFORMS
ruby
DEPENDENCIES
- foreman (~> 0.63)
+ foreman
github-pages
- serve (~> 1.5)
+ serve
tzinfo-data
+
+BUNDLED WITH
+ 1.13.7
diff --git a/_config.yml b/_config.yml
index 6214b0c..20fa234 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,6 +1,6 @@
baseurl: ''
safe: true
-pygments: true
+highlighter: pygments
lsi: false
markdown: redcarpet
exclude:
diff --git a/_data/chapters.yml b/_data/chapters.yml
new file mode 100644
index 0000000..9c47918
--- /dev/null
+++ b/_data/chapters.yml
@@ -0,0 +1,16 @@
+---
+- Syntax
+- Classes and Objects
+- Strings
+- Arrays
+- Dates and Times
+- Math
+- Functions
+- Metaprogramming
+- jQuery
+- Ajax
+- Regular Expressions
+- Networking
+- Design Patterns
+- Databases
+- Testing
diff --git a/_layouts/chapter.html b/_layouts/chapter.html
index 3023ec9..3daeeed 100644
--- a/_layouts/chapter.html
+++ b/_layouts/chapter.html
@@ -1,22 +1,3 @@
----
-chapters:
-- Syntax
-- Classes and Objects
-- Strings
-- Arrays
-- Dates and Times
-- Math
-- Functions
-- Metaprogramming
-- jQuery
-- Ajax
-- Regular Expressions
-- Networking
-- Design Patterns
-- Databases
-- Testing
----
-
@@ -72,7 +53,7 @@