README.md in octopress-3.0.0.rc.1 vs README.md in octopress-3.0.0.rc.2
- old
+ new
@@ -5,19 +5,19 @@
## Installation
Add this line to your application's Gemfile:
- gem 'octopress'
+ gem 'octopress', '~> 3.0.0.rc.1'
And then execute:
$ bundle
Or install it yourself as:
- $ gem install octopress
+ $ gem install octopress --pre
## Basic Usage
Here are the commands for Octopress.
@@ -98,10 +98,11 @@
| Option | Description |
|:---------------------|:----------------------------------------|
| `--template PATH` | Use a template from <path> |
| `--date DATE` | The date for the post. Should be parseable by [Time#parse](http://ruby-doc.org/stdlib-2.1.0/libdoc/time/rdoc/Time.html#method-i-parse) |
| `--slug SLUG` | Slug for the new post. |
+| `--dir DIR` | Create post at _posts/DIR/. |
| `--force` | Overwrite exsiting file. |
### New Page
```sh
@@ -142,9 +143,10 @@
| Option | Description |
|:-------------------|:------------------------------------------|
| `--date DATE` | The date for the post. Should be parseable by [Time#parse](http://ruby-doc.org/stdlib-2.1.0/libdoc/time/rdoc/Time.html#method-i-parse) |
| `--slug SLUG` | Change the slug for the new post. |
+| `--dir DIR` | Create post at _posts/DIR/. |
| `--force` | Overwrite exsiting file. |
```
When publishing a draft, the new post will use the draft's date. Pass the option `--date now` to the publish command to set the new post date from your system clock. As usual, you can pass any compatible date string as well.