Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add new_post to documentation, with caveat

  • Loading branch information...
commit ea13ddd38c0dd595fa54017b09d39c591c3d6d73 1 parent f183dc2
@tangledhelix authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 doc/octopress.txt
View
12 doc/octopress.txt
@@ -53,6 +53,7 @@ The :Octopress command
<task> is one of:
+ new_post Add a new post
generate Regenerate output files from sources
deploy Default deploy task
gen_deploy Generate and then deploy
@@ -60,6 +61,17 @@ The :Octopress command
rsync Deploy via rsync
clean Clean caches (pygments, gist, sass)
+new_post is the only command that takes arguments. The rest of the line
+after ':Octopress new_post' is considered to be the post title.
+
+Note that due to a problem with rake's argument handling, a post title that
+contains a comma will be truncated at the comma. I tried to work around this
+using shell escapes and such, but it's a problem in rake itself, and is an
+issue using the raw Octopress commands outside of Vim also.
+
+imathis says this will not be a problem when they move to a CLI instead of
+using rake.
+
*g:octopress_rake_executable*
By default, 'rake' is taken from your path. If you want to use a different
rake, specify its path in 'g:octopress_rake_executable'.
Please sign in to comment.
Something went wrong with that request. Please try again.