Skip to content

Commit

Permalink
Add stylesheets, javascript, and html for documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lord committed Sep 17, 2013
1 parent 7edf6c8 commit 6c077ba
Show file tree
Hide file tree
Showing 16 changed files with 1,822 additions and 77 deletions.
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ source 'http://rubygems.org'

gem "middleman", "~>3.1.5"

# For syntax highlighting
gem "middleman-syntax"

# Plugin for middleman to generate Github pages
gem 'middleman-gh-pages'

# Live-reloading plugin
gem "middleman-livereload", "~> 3.1.0"

gem "redcarpet"
gem "github-linguist"

# For faster file watcher updates on Windows:
gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw]

Expand Down
22 changes: 22 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ GEM
activesupport (3.2.14)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
charlock_holmes (0.6.9.4)
chunky_png (1.2.8)
coffee-script (2.2.0)
coffee-script-source
Expand All @@ -16,11 +17,17 @@ GEM
em-websocket (0.5.0)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.5.3)
escape_utils (0.3.2)
eventmachine (1.0.3)
execjs (1.4.0)
multi_json (~> 1.0)
ffi (1.9.0)
fssm (0.2.10)
github-linguist (2.9.4)
charlock_holmes (~> 0.6.6)
escape_utils (~> 0.3.1)
mime-types (~> 1.19)
pygments.rb (~> 0.5.2)
haml (4.0.3)
tilt
hike (1.2.3)
Expand Down Expand Up @@ -65,7 +72,15 @@ GEM
sprockets (~> 2.1)
sprockets-helpers (~> 1.0.0)
sprockets-sass (~> 1.0.0)
middleman-syntax (1.2.1)
middleman-core (~> 3.0)
rouge (~> 0.3.0)
mime-types (1.25)
multi_json (1.8.0)
posix-spawn (0.3.6)
pygments.rb (0.5.2)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rack (1.5.2)
rack-livereload (0.3.15)
rack
Expand All @@ -77,6 +92,9 @@ GEM
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
redcarpet (3.0.0)
rouge (0.3.10)
thor
ruby18_source_location (0.2)
sass (3.2.10)
sprockets (2.10.0)
Expand All @@ -94,13 +112,17 @@ GEM
uglifier (2.1.2)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
github-linguist
middleman (~> 3.1.5)
middleman-gh-pages
middleman-livereload (~> 3.1.0)
middleman-syntax
redcarpet
ruby18_source_location
wdm (~> 0.1.0)
14 changes: 9 additions & 5 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@

# Methods defined in the helpers block are available in templates
# helpers do
# def some_helper
# "Helping"
# end
# end

set :css_dir, 'stylesheets'
Expand All @@ -51,13 +48,20 @@

set :images_dir, 'images'

set :markdown_engine, :redcarpet

set :markdown, :fenced_code_blocks => true, :smartypants => true, :disable_indented_code_blocks => true, :prettify => true, :with_toc_data => true, :tables => true

# Activate the syntax highlighter
activate :syntax

# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
# activate :minify_css
activate :minify_css

# Minify Javascript on build
# activate :minify_javascript
activate :minify_javascript

# Enable cache buster
# activate :asset_hash
Expand Down
Binary file removed source/images/background.png
Binary file not shown.
Binary file removed source/images/middleman.png
Binary file not shown.
10 changes: 0 additions & 10 deletions source/index.html.erb

This file was deleted.

456 changes: 456 additions & 0 deletions source/index.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions source/javascripts/all.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
//= require './jquery_ui'
//= require_tree .
Loading

0 comments on commit 6c077ba

Please sign in to comment.