Permalink
Browse files

Add dev option

  • Loading branch information...
1 parent 24867ed commit 630a8407e92b3f4e3c568bc7034bb9bc9efddc5e @gjtorikian committed Aug 22, 2012
Showing with 9 additions and 2 deletions.
  1. +2 −1 README.md
  2. +6 −0 bin/panda-docs
  3. +1 −1 package.json
View
3 README.md
@@ -84,7 +84,8 @@ There are a number of arguments you can pass to Panda that affect the entire bui
- `--template`: The location of your Jade templates [_./templates/default/layout.jade_]. Though the path is optional, you must have a valid Jade template _somewhere_.
- `--assets`: The location of your assets (CSS, Javascript) [_./templates/default/assets_].
- `--keepFirstHeader` : If set, keeps the first header (`<h1>`) detected
- - `--baseurl` : Base URL of all links
+ - `--baseurl`: Base URL of all links
+- `-r, --no-release`: If set, indicates that you're doing a development build. You can trigger different behavior in your Jade templates this way
## Jade Templates
View
6 bin/panda-docs
@@ -75,6 +75,12 @@ panda_docs.make = exports.make = function(args, callback) {
help: 'Disables the tests that are run at the end of a build. This is NOT recommended.',
flag: true
})
+ .option('noRelease', {
+ abbr: 'r',
+ full: 'no-release',
+ help: 'If set, indicates that you\'re not doing a release',
+ flag: true
+ })
.option('keepFirstHeader', {
full: 'keepFirstHeader',
help: 'If set, keeps the first header (<h1>) detected',
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "panda-docs",
- "version": "0.3.12",
+ "version": "0.3.13",
"author": "Garen Torikian",
"keywords": ["documentation", "docs", "markdown"],
"description": "A complete documentation generation tool for Markdown files",

0 comments on commit 630a840

Please sign in to comment.