diff --git a/doc-src/Gemfile.lock b/doc-src/Gemfile.lock index 12fb4a3c..70bbc9df 100644 --- a/doc-src/Gemfile.lock +++ b/doc-src/Gemfile.lock @@ -8,7 +8,7 @@ GIT PATH remote: .. specs: - compass (0.11.beta.4.3d9365e) + compass (0.11.beta.4.365fc5d) chunky_png (~> 1.1.0) sass (>= 3.1.0.alpha.249) diff --git a/doc-src/content/help/tutorials/configuration-reference.markdown b/doc-src/content/help/tutorials/configuration-reference.markdown index 97c63b45..af6d6ea7 100644 --- a/doc-src/content/help/tutorials/configuration-reference.markdown +++ b/doc-src/content/help/tutorials/configuration-reference.markdown @@ -9,7 +9,7 @@ classnames: The compass configuration file is a ruby file, which means that we can do some clever things if we want to. But don’t let it frighten you; it’s really quite easy to set up your project. - + ## Basic format Most configuration properties are a simple assignment to a configuration property. @@ -35,11 +35,12 @@ There are two kinds of composite values: It is a comma delimited list of associations surrounded by curly brackets. An association is two values separated by `=>`. E.g. `{:foo => "aaa", :bar => "zzz"}` + ## Comments Use the hash sign `#` to comment out everything from the hash sign to the end of the line. - + ## Import Note for Windows Users The backslash character (`\`) is a special character in a string delimited by @@ -47,6 +48,7 @@ double quotes (`"`). If you are working with folders in your paths, you should either use **single quotes** to delimit your strings or escape your backslash by doubling it like `"some\\path"`. + ## Loading Compass Plugins Compass relies on the ruby `require` mechanism to load other libraries of code. @@ -59,11 +61,13 @@ Example: require 'ninesixty' require 'susy' + ## Overriding Configuration Settings When using the compass command line, configuration options that you set on the command line will override the corresponding settings in your configuration file. + ## Inspecting Configuration Settings passed via the Command Line When using the compass command line, configuration options that you set on the @@ -78,7 +82,7 @@ Then you can inspect the value like so: Values that are not set on the CLI will be `nil` even though they will have a default value later on. - + ## Configuration Properties @@ -278,6 +282,7 @@ later on.
+ ## Configuration Functions **`add_import_path`** – Call this function to add a path to the list of sass import @@ -336,7 +341,7 @@ more than once. Example: This code will be called if the file is added, updated, or removed. Be sure to check for existence to avoid crashing the watcher in the case where the file has been removed. - + ## Callbacks **`on_sprite_saved`** -- Pass this function a block of code that gets executed after a sprite is saved to disk. The block will be passed the filename. Can be invoked more then once. Example: diff --git a/doc-src/content/help/tutorials/spriting.markdown b/doc-src/content/help/tutorials/spriting.markdown index b8208d0d..8149617a 100644 --- a/doc-src/content/help/tutorials/spriting.markdown +++ b/doc-src/content/help/tutorials/spriting.markdown @@ -52,6 +52,7 @@ simple naming convention for your sprites so that you they are easy to remember should never have to care what the is name of the generated sprite map, nor where a sprite is located within it. + ## Selector Control If you want control over what selectors are generated, it is easy to do. In this example,