diff --git a/VERSION.yml b/VERSION.yml index 927d5311..7dd62e62 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -2,4 +2,4 @@ :major: 0 :minor: 11 :state: beta -:build: 4 +:build: 5 diff --git a/doc-src/content/reference/compass/utilities/sprites.haml b/doc-src/content/reference/compass/utilities/sprites.haml index 5b1bd949..25202a24 100644 --- a/doc-src/content/reference/compass/utilities/sprites.haml +++ b/doc-src/content/reference/compass/utilities/sprites.haml @@ -11,5 +11,13 @@ classnames: - core - utilities --- -= render 'reference' +- render 'reference' do + %h3 Additional Resources + %ul + %li + %a(href="/help/tutorials/spriting/") Spriting Tutorial + %li + %a(href="/reference/compass/helpers/sprites/") Sprite Helpers + %li + %a(href="/reference/compass/utilities/sprites/base/") Base Stylesheet \ No newline at end of file diff --git a/doc-src/lib/search.rb b/doc-src/lib/search.rb index aadde495..f5f5d47b 100644 --- a/doc-src/lib/search.rb +++ b/doc-src/lib/search.rb @@ -66,7 +66,7 @@ def search_index # puts "Indexed: #{term}" end idx["items"][id] = { - "url" => "/docs#{item.identifier}", + "url" => "#{item.identifier}", "title" => item[:title], "crumb" => item[:crumb] } diff --git a/lib/compass/sass_extensions/functions/lists.rb b/lib/compass/sass_extensions/functions/lists.rb index e82a6757..a9e15a0c 100644 --- a/lib/compass/sass_extensions/functions/lists.rb +++ b/lib/compass/sass_extensions/functions/lists.rb @@ -18,8 +18,9 @@ module Compass::SassExtensions::Functions::Lists def compact(*args) sep = :comma if args.size == 1 && args.first.is_a?(Sass::Script::List) - args = args.first.value - sep = args.first.separator + list = args.first + args = list.value + sep = list.separator end Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep) end