You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,8 @@ Configuration of `sprite` is done via `config/sprite.yml`. It allows you to set
79
79
-`default_format:` defines the default file image format of the generated files. (defaults to `png`)
80
80
-`default_spacing:` defines the default pixel spacing between sprites (defaults to 0)
81
81
-`class_separator:` used to generated the class name by separating the image name and sprite name (defaults to `-`)
82
-
82
+
-`add_datestamps`: whether or not to add datestamps to the generated background image urls. this will allow proper cache versioning (defaults to `true`)
83
+
83
84
*`images:` section provides an array of configurations which define which image files are built, and where they get their sprites from. each image setup provides the following config options:
84
85
-`name:` name of image (required)
85
86
-`sources:` defines a list of source image filenames to build the target image from (required). They are parsed by <code>Dir.glob</code>
0 commit comments