diff --git a/doc-src/.compass/config.rb b/doc-src/.compass/config.rb index 004d1d13..437a68dc 100644 --- a/doc-src/.compass/config.rb +++ b/doc-src/.compass/config.rb @@ -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 diff --git a/doc-src/Rules b/doc-src/Rules index 0161186f..bb5a7625 100644 --- a/doc-src/Rules +++ b/doc-src/Rules @@ -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"