Permalink
Browse files

Remove remaining nanoc-related files.

  • Loading branch information...
1 parent e4d967d commit 74abaa33e652651638e7701c6da028bda0754777 @benhoskings committed Mar 15, 2012
Showing with 0 additions and 84 deletions.
  1. +0 −37 Rules
  2. +0 −41 config.yaml
  3. BIN content/images/babushka-logo.png
  4. +0 −6 lib/default.rb
View
37 Rules
@@ -1,37 +0,0 @@
-#!/usr/bin/env ruby
-
-# A few helpful tips about the Rules file:
-#
-# * The order of rules is important: for each item, only the first matching
-# rule is applied.
-#
-# * Item identifiers start and end with a slash (e.g. “/about/” for the file
-# “content/about.html”). To select all children, grandchildren, … of an
-# item, use the pattern “/about/*/”; “/about/*” will also select the parent,
-# because “*” matches zero or more characters.
-
-compile '/styles/' do
- filter :sass, :syntax => :scss
-end
-
-compile '/images/*/' do
-end
-
-compile '*' do
- filter :rdiscount, :extensions => [:smart]
- layout 'default'
-end
-
-route '/styles/' do
- '/styles/styles.css'
-end
-
-route '/images/*/' do
- item.identifier.chop + '.' + item[:extension]
-end
-
-route '*' do
- item.identifier + 'index.html'
-end
-
-layout '*', :erb
View
41 config.yaml
@@ -1,41 +0,0 @@
-# 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', 'html', 'js', 'json', 'markdown', 'md', 'rb', 'sass', 'scss', 'txt', '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: public
-
-# 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: /
View
BIN content/images/babushka-logo.png
Deleted file not rendered
View
6 lib/default.rb
@@ -1,6 +0,0 @@
-# All files in the 'lib' directory will be loaded
-# before nanoc starts compiling.
-
-def git_ref
- `git rev-parse --short HEAD`.strip
-end

0 comments on commit 74abaa3

Please sign in to comment.