add on-page anchors to the command line reference page.
This commit is contained in:
parent
99a95e25e0
commit
b5943dd450
@ -39,32 +39,37 @@ Extensions Commands
|
|||||||
|
|
||||||
Project Commands
|
Project Commands
|
||||||
----------------
|
----------------
|
||||||
|
<a name="create"/>
|
||||||
### Create a new compass project
|
### Create a new compass project
|
||||||
|
|
||||||
compass create path/to/project [--using blueprint] [--sass-dir=sass ...] [--project-type=rails]
|
compass create path/to/project [--using blueprint] [--sass-dir=sass ...] [--project-type=rails]
|
||||||
|
|
||||||
|
<a name="init"/>
|
||||||
### Initialize an existing project to work with compass
|
### Initialize an existing project to work with compass
|
||||||
|
|
||||||
compass init rails path/to/project [--using blueprint]
|
compass init rails path/to/project [--using blueprint]
|
||||||
|
|
||||||
|
<a name="install"/>
|
||||||
### Install a pattern from an extension into a project
|
### Install a pattern from an extension into a project
|
||||||
|
|
||||||
compass install blueprint/buttons [path/to/project]
|
compass install blueprint/buttons [path/to/project]
|
||||||
|
|
||||||
|
<a name="compile"/>
|
||||||
### Compile the project's sass files into css
|
### Compile the project's sass files into css
|
||||||
|
|
||||||
compass compile [path/to/project]
|
compass compile [path/to/project]
|
||||||
|
|
||||||
|
<a name="watch"/>
|
||||||
### Watch the project for changes and compile whenever it does
|
### Watch the project for changes and compile whenever it does
|
||||||
|
|
||||||
compass watch [path/to/project]
|
compass watch [path/to/project]
|
||||||
|
|
||||||
|
<a name="config"/>
|
||||||
### Emit a configuration file at the location specified.
|
### Emit a configuration file at the location specified.
|
||||||
|
|
||||||
compass config [path/to/config] [--sass-dir=sass --css-dir=css ...]
|
compass config [path/to/config] [--sass-dir=sass --css-dir=css ...]
|
||||||
|
|
||||||
|
<a name="validate"/>
|
||||||
### Validate the generated CSS.
|
### Validate the generated CSS.
|
||||||
|
|
||||||
compass validate [path/to/project]
|
compass validate [path/to/project]
|
||||||
@ -72,6 +77,7 @@ Project Commands
|
|||||||
Misc commands
|
Misc commands
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
<a name="grid-img"/>
|
||||||
### Generate a background image that can be used to verify grid alignment
|
### Generate a background image that can be used to verify grid alignment
|
||||||
|
|
||||||
compass grid-img W+GxH [path/to/grid.png]
|
compass grid-img W+GxH [path/to/grid.png]
|
||||||
@ -91,18 +97,22 @@ Examples:
|
|||||||
# 60px column, 20px gutter, 28px height at images/wide_grid.png
|
# 60px column, 20px gutter, 28px height at images/wide_grid.png
|
||||||
compass grid-img 60+20x28 images/wide_grid.png
|
compass grid-img 60+20x28 images/wide_grid.png
|
||||||
|
|
||||||
|
<a name="interactive"/>
|
||||||
### Enter into a console for testing SassScript in a compass environment.
|
### Enter into a console for testing SassScript in a compass environment.
|
||||||
|
|
||||||
compass interactive
|
compass interactive
|
||||||
|
|
||||||
|
<a name="stats"/>
|
||||||
### Print out statistics about your stylesheets
|
### Print out statistics about your stylesheets
|
||||||
|
|
||||||
compass stats
|
compass stats
|
||||||
|
|
||||||
|
<a name="version"/>
|
||||||
### Emit the version of compass
|
### Emit the version of compass
|
||||||
|
|
||||||
compass version
|
compass version
|
||||||
|
|
||||||
|
<a name="unpack"/>
|
||||||
### Unpack a framework or extension into your project
|
### Unpack a framework or extension into your project
|
||||||
|
|
||||||
compass unpack <extension>
|
compass unpack <extension>
|
||||||
@ -110,18 +120,22 @@ Examples:
|
|||||||
Get Help on the Command Line
|
Get Help on the Command Line
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
<a name="help"/>
|
||||||
### Get help on compass
|
### Get help on compass
|
||||||
|
|
||||||
compass help
|
compass help
|
||||||
|
|
||||||
|
<a name="help-extension"/>
|
||||||
### Get help on an extension
|
### Get help on an extension
|
||||||
|
|
||||||
compass help extension_name
|
compass help extension_name
|
||||||
|
|
||||||
|
<a name="help-pattern"/>
|
||||||
### Get help about an extension pattern
|
### Get help about an extension pattern
|
||||||
|
|
||||||
compass help extension_name/pattern_name
|
compass help extension_name/pattern_name
|
||||||
|
|
||||||
|
<a name="help-command"/>
|
||||||
### Get help about a particular sub command
|
### Get help about a particular sub command
|
||||||
|
|
||||||
compass help command_name
|
compass help command_name
|
||||||
|
Loading…
Reference in New Issue
Block a user