diff --git a/Gemfile b/Gemfile index 0495dd1..e58932e 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,6 @@ source 'https://rubygems.org' gem 'jekyll', '~> 1.4.3' gem 'pygments.rb', '~> 0.5.4' +gem 'jekyll-assets' +gem 'less' +gem 'therubyracer' diff --git a/Gemfile.lock b/Gemfile.lock index 7899ba1..d6c41e3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,9 +7,11 @@ GEM colorator (0.1) commander (4.1.5) highline (~> 1.6.11) + commonjs (0.2.7) fast-stemmer (1.0.2) ffi (1.9.3) highline (1.6.20) + hike (1.2.3) jekyll (1.4.3) classifier (~> 1.3) colorator (~> 0.1) @@ -21,25 +23,43 @@ GEM redcarpet (~> 2.3.0) safe_yaml (~> 0.9.7) toml (~> 0.1.0) + jekyll-assets (0.7.4) + jekyll (~> 1.0) + sprockets (~> 2.10) + less (2.4.0) + commonjs (~> 0.2.7) + libv8 (3.16.14.3) liquid (2.5.5) listen (1.3.1) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) rb-kqueue (>= 0.2) maruku (0.7.1) + multi_json (1.8.4) parslet (1.5.0) blankslate (~> 2.0) posix-spawn (0.3.8) pygments.rb (0.5.4) posix-spawn (~> 0.3.6) yajl-ruby (~> 1.1.0) + rack (1.5.2) rb-fsevent (0.9.4) rb-inotify (0.9.3) ffi (>= 0.5.0) rb-kqueue (0.2.0) ffi (>= 0.5.0) redcarpet (2.3.0) + ref (1.0.5) safe_yaml (0.9.7) + sprockets (2.10.1) + hike (~> 1.2) + multi_json (~> 1.0) + rack (~> 1.0) + tilt (~> 1.1, != 1.3.0) + therubyracer (0.12.0) + libv8 (~> 3.16.14.0) + ref + tilt (1.4.1) toml (0.1.0) parslet (~> 1.5.0) yajl-ruby (1.1.0) @@ -49,4 +69,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 1.4.3) + jekyll-assets + less pygments.rb (~> 0.5.4) + therubyracer diff --git a/_assets/javascripts/bootstrap.min.js b/_assets/javascripts/bootstrap.min.js new file mode 120000 index 0000000..8ec0ded --- /dev/null +++ b/_assets/javascripts/bootstrap.min.js @@ -0,0 +1 @@ +../vendor/bootstrap/dist/js/bootstrap.min.js \ No newline at end of file diff --git a/_assets/javascripts/holder.js b/_assets/javascripts/holder.js new file mode 120000 index 0000000..129470e --- /dev/null +++ b/_assets/javascripts/holder.js @@ -0,0 +1 @@ +../vendor/bootstrap/docs-assets/js/holder.js \ No newline at end of file diff --git a/_assets/stylesheets/bootstrap-theme.css.less b/_assets/stylesheets/bootstrap-theme.css.less new file mode 100644 index 0000000..e69de29 diff --git a/_assets/stylesheets/bootstrap.css.less b/_assets/stylesheets/bootstrap.css.less new file mode 100644 index 0000000..369cc78 --- /dev/null +++ b/_assets/stylesheets/bootstrap.css.less @@ -0,0 +1,51 @@ +@bootstrap-less-path: "../vendor/bootstrap/less/"; + +// Core variables and mixins +@import "@{bootstrap-less-path}variables.less"; +@import "@{bootstrap-less-path}mixins.less"; + +// Reset +@import "@{bootstrap-less-path}normalize.less"; +@import "@{bootstrap-less-path}print.less"; + +// Core CSS +@import "@{bootstrap-less-path}scaffolding.less"; +@import "@{bootstrap-less-path}type.less"; +@import "@{bootstrap-less-path}code.less"; +@import "@{bootstrap-less-path}grid.less"; +@import "@{bootstrap-less-path}tables.less"; +@import "@{bootstrap-less-path}forms.less"; +@import "@{bootstrap-less-path}buttons.less"; + +// Components +@import "@{bootstrap-less-path}component-animations.less"; +@import "@{bootstrap-less-path}glyphicons.less"; +@import "@{bootstrap-less-path}dropdowns.less"; +@import "@{bootstrap-less-path}button-groups.less"; +@import "@{bootstrap-less-path}input-groups.less"; +@import "@{bootstrap-less-path}navs.less"; +@import "@{bootstrap-less-path}navbar.less"; +@import "@{bootstrap-less-path}breadcrumbs.less"; +@import "@{bootstrap-less-path}pagination.less"; +@import "@{bootstrap-less-path}pager.less"; +@import "@{bootstrap-less-path}labels.less"; +@import "@{bootstrap-less-path}badges.less"; +@import "@{bootstrap-less-path}jumbotron.less"; +@import "@{bootstrap-less-path}thumbnails.less"; +@import "@{bootstrap-less-path}alerts.less"; +@import "@{bootstrap-less-path}progress-bars.less"; +@import "@{bootstrap-less-path}media.less"; +@import "@{bootstrap-less-path}list-group.less"; +@import "@{bootstrap-less-path}panels.less"; +@import "@{bootstrap-less-path}wells.less"; +@import "@{bootstrap-less-path}close.less"; + +// Components w/ JavaScript +@import "@{bootstrap-less-path}modals.less"; +@import "@{bootstrap-less-path}tooltip.less"; +@import "@{bootstrap-less-path}popovers.less"; +@import "@{bootstrap-less-path}carousel.less"; + +// Utility classes +@import "@{bootstrap-less-path}utilities.less"; +@import "@{bootstrap-less-path}responsive-utilities.less"; diff --git a/_assets/stylesheets/theme.css.less b/_assets/stylesheets/theme.css.less new file mode 100644 index 0000000..e69de29 diff --git a/_config.yml b/_config.yml index 02940b5..35919ea 100644 --- a/_config.yml +++ b/_config.yml @@ -9,3 +9,4 @@ keep_files: ['.gitkeep'] encoding: UTF-8 markdown: redcarpet +gems: ['jekyll-assets'] diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..d9557c7 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,39 @@ + + + + + + + + + + + {{ site.title }} + + + {% stylesheet bootstrap.css %} + + {% stylesheet bootstrap-theme.css %} + + + {% stylesheet theme.css %} + + + + + + + {{ content }} + + + + + + {% javascript bootstrap.min.js %} + {% javascript holder.js %} + + diff --git a/assets/ico/favicon.ico b/assets/ico/favicon.ico new file mode 100644 index 0000000..36ad3ea Binary files /dev/null and b/assets/ico/favicon.ico differ