Permalink
Browse files

Initial refactor

Signed-off-by: Kurtis Rainbolt-Greene <kurtisrainboltgreene@gmail.com>
  • Loading branch information...
0 parents commit 7880ec7e678cfb0db676500f9e0f54d06e25a069 Kurtis Rainbolt-Greene committed Jun 5, 2011
@@ -0,0 +1,16 @@
+source :rubygems
+
+gem 'nanoc', '~> 3.1.7'
+
+gem 'haml', '~> 3.1.1'
+gem 'sass', '~> 3.1.1'
+gem 'rdiscount', '~> 1.6.8'
+gem 'highlight', '~> 1.1.2'
+
+gem 'heroku', '2.1.4'
+
+gem 'rspec', '2.6.0'
+gem 'capybara', '0.4.1.2'
+gem 'delorean', '1.0.0'
+gem 'rbtrace', '0.3.13'
+gem 'ruby-debug19', '0.11.6', :require => 'ruby-debug'
@@ -0,0 +1,102 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.0.7)
+ archive-tar-minitar (0.5.2)
+ capybara (0.4.1.2)
+ celerity (>= 0.7.9)
+ culerity (>= 0.2.4)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (>= 0.0.27)
+ xpath (~> 0.1.3)
+ celerity (0.8.9)
+ childprocess (0.1.9)
+ ffi (~> 1.0.6)
+ chronic (0.4.0)
+ columnize (0.3.2)
+ configuration (1.2.0)
+ cri (1.0.1)
+ culerity (0.2.15)
+ delorean (1.0.0)
+ chronic
+ diff-lcs (1.1.2)
+ ffi (1.0.9)
+ haml (3.1.1)
+ heroku (2.1.4)
+ launchy (>= 0.3.2)
+ rest-client (~> 1.6.1)
+ term-ansicolor (~> 1.0.5)
+ highlight (1.1.2)
+ activesupport (>= 2.0.0)
+ json_pure (1.5.1)
+ launchy (0.4.0)
+ configuration (>= 0.0.5)
+ rake (>= 0.8.1)
+ linecache19 (0.5.12)
+ ruby_core_source (>= 0.1.4)
+ mime-types (1.16)
+ msgpack (0.4.5)
+ nanoc (3.1.7)
+ nanoc3 (>= 3.1.7)
+ nanoc3 (3.1.7)
+ cri (>= 1.0.0)
+ nokogiri (1.4.4)
+ rack (1.3.0)
+ rack-test (0.6.0)
+ rack (>= 1.0)
+ rake (0.9.1)
+ rbtrace (0.3.13)
+ ffi (>= 1.0.6)
+ msgpack (>= 0.4.3)
+ trollop (>= 1.16.2)
+ rdiscount (1.6.8)
+ rest-client (1.6.3)
+ mime-types (>= 1.16)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.3)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ ruby-debug-base19 (0.11.25)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby_core_source (>= 0.1.4)
+ ruby-debug19 (0.11.6)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby-debug-base19 (>= 0.11.19)
+ ruby_core_source (0.1.5)
+ archive-tar-minitar (>= 0.5.2)
+ rubyzip (0.9.4)
+ sass (3.1.2)
+ selenium-webdriver (0.2.1)
+ childprocess (>= 0.1.7)
+ ffi (>= 1.0.7)
+ json_pure
+ rubyzip
+ term-ansicolor (1.0.5)
+ trollop (1.16.2)
+ xpath (0.1.4)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ capybara (= 0.4.1.2)
+ delorean (= 1.0.0)
+ haml (~> 3.1.1)
+ heroku (= 2.1.4)
+ highlight (~> 1.1.2)
+ nanoc (~> 3.1.7)
+ rbtrace (= 0.3.13)
+ rdiscount (~> 1.6.8)
+ rspec (= 2.6.0)
+ ruby-debug19 (= 0.11.6)
+ sass (~> 3.1.1)
@@ -0,0 +1 @@
+require 'nanoc3/tasks'
@@ -0,0 +1,28 @@
+#!/usr/bin/env ruby
+
+compile '/style/extra/*' do
+ # Nothing
+end
+
+compile '/style/*' do
+ filter :sass
+end
+
+compile '*' do
+ filter :rdiscount
+ layout 'default'
+end
+
+route '/style/extra/*' do
+ # Nothing
+end
+
+route '/style/main' do
+ '/style.css'
+end
+
+route '*' do
+ item.identifier + 'index.html'
+end
+
+layout '*', :haml
@@ -0,0 +1,41 @@
+# A list of file extensions that nanoc will consider to be textual rather than
+# binary. If an item with an extension not in this list is found, the file
+# will be considered as binary.
+text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ]
+
+# The path to the directory where all generated files will be written to. This
+# can be an absolute path starting with a slash, but it can also be path
+# relative to the site directory.
+output_dir: output
+
+# A list of index filenames, i.e. names of files that will be served by a web
+# server when a directory is requested. Usually, index files are named
+# “index.hml”, but depending on the web server, this may be something else,
+# such as “default.htm”. This list is used by nanoc to generate pretty URLs.
+index_filenames: [ 'index.html' ]
+
+# Whether or not to generate a diff of the compiled content when compiling a
+# site. The diff will contain the differences between the compiled content
+# before and after the last site compilation.
+enable_output_diff: false
+
+# The data sources where nanoc loads its data from. This is an array of
+# hashes; each array element represents a single data source. By default,
+# there is only a single data source that reads data from the “content/” and
+# “layout/” directories in the site directory.
+data_sources:
+ -
+ # The type is the identifier of the data source. By default, this will be
+ # `filesystem_unified`.
+ type: filesystem_unified
+
+ # The path where items should be mounted (comparable to mount points in
+ # Unix-like systems). This is “/” by default, meaning that items will have
+ # “/” prefixed to their identifiers. If the items root were “/en/”
+ # instead, an item at content/about.html would have an identifier of
+ # “/en/about/” instead of just “/about/”.
+ items_root: /
+
+ # The path where layouts should be mounted. The layouts root behaves the
+ # same as the items root, but applies to layouts rather than items.
+ layouts_root: /
No changes.
No changes.
Oops, something went wrong. Retry.

0 comments on commit 7880ec7

Please sign in to comment.