mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-01 15:55:03 -04:00
100 lines
2.4 KiB
Plaintext
100 lines
2.4 KiB
Plaintext
octopress create
|
|
|
|
|
|
-------------------------------
|
|
*********************************************************************
|
|
Congratulations! Your compass project has been created.
|
|
|
|
You may now add and edit sass stylesheets in the sass subdirectory of your project.
|
|
|
|
Sass files beginning with an underscore are called partials and won't be
|
|
compiled to CSS, but they can be imported into other sass stylesheets.
|
|
|
|
You can configure your project by editing the config.rb configuration file.
|
|
|
|
You must compile your sass stylesheets into CSS when they change.
|
|
This can be done in one of the following ways:
|
|
1. To compile on demand:
|
|
compass compile [path/to/project]
|
|
2. To monitor your project for changes and automatically recompile:
|
|
compass watch [path/to/project]
|
|
|
|
More Resources:
|
|
* Website: http://compass-style.org/
|
|
* Sass: http://sass-lang.com
|
|
* Community: http://groups.google.com/group/compass-users/
|
|
|
|
|
|
To import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:
|
|
<head>
|
|
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
|
<link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
|
|
<!--[if IE]>
|
|
<link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
|
<![endif]-->
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
octopress --global-option command -d myblog
|
|
|
|
octopress --path /my/blog post --option new "Hello"
|
|
|
|
todo -f /path/to/file.txt add -f "Call brandon"
|
|
|
|
|
|
# Replace the install command of the Rakefile
|
|
octopress
|
|
create [DIRECTORY] # Create a new Jekyll blog.
|
|
--theme=classic (aliases -t)
|
|
--deploy={rsync,github,aws,heroku}
|
|
--root-dir=/
|
|
|
|
clean # Clean out caches: .pygments-cache,
|
|
.gist-cache, .sass-cache
|
|
|
|
deploy # Deploy compiled site
|
|
--default={rsync,github,aws,heroku}
|
|
--rsync
|
|
--github
|
|
--aws
|
|
--heroku
|
|
|
|
generate
|
|
|
|
octopress new-page TITLE
|
|
|
|
SYNOPSIS
|
|
octopress new-post [-s]
|
|
-s FILENAME, --slug
|
|
-i, --isolate
|
|
|
|
SYNOPSIS
|
|
git add [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
|
|
[--edit | -e] [--all | [--update | -u]] [--intent-to-add | -N]
|
|
[--refresh] [--ignore-errors] [--ignore-missing] [--]
|
|
[<filepattern>...]
|
|
|
|
|
|
|
|
isolate TITLE
|
|
|
|
integrate
|
|
|
|
preview
|
|
|
|
theme update
|
|
theme install
|
|
theme create
|
|
|
|
watch
|