Tell compass we're under /docs

This commit is contained in:
Chris Eppstein 2010-01-31 09:43:19 -08:00
parent 6c6acc2126
commit 545525deb7
2 changed files with 6 additions and 4 deletions

View File

@ -2,14 +2,14 @@
# require 'susy'
# Set this to the root of your project when deployed:
http_path = "/"
http_path = "/docs"
project_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
css_dir = "../docs/stylesheets"
sass_dir = "content/stylesheets"
images_dir = "assets/images"
http_images_dir = "images"
javascripts_dir = "content/javascripts"
http_javascripts_dir = "javascripts"
http_stylesheets_dir = "stylesheets"
http_images_dir = "images"
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

View File

@ -1,8 +1,10 @@
#!/usr/bin/env ruby
require 'compass'
Compass.configuration.parse "#{File.dirname(__FILE__)}/.compass/config.rb"
puts "Compass running from: #{Compass.lib_directory}"
Compass.add_configuration "#{File.dirname(__FILE__)}/.compass/config.rb"
SITE_ROOT = "/docs"