Skip to content
Browse files

Allow arbitrary options

  • Loading branch information...
1 parent bbb401b commit f8f2f5a677182ad25c5cf37c45199107948eb2c4 @gjtorikian committed Oct 8, 2012
Showing with 3 additions and 4 deletions.
  1. +2 −3 lib/generator.js
  2. +1 −1 package.json
View
5 lib/generator.js
@@ -55,16 +55,15 @@ Generator.render = function(manifest, jadeCompileFn, filepath, filename, srcCont
content = tohGenerator.autoLinkifyHeaders(content);
- var jadeParams = helpers.extend({
- options: this.options,
+ var jadeParams = {};
+ jadeParams = helpers.extend(this.options, {
manifest: manifest,
content: content,
toh: toh,
headingTable: tohGenerator.headingTable,
metadata: metadata,
fileName: filename,
whoAmI: filepath,
- title: Generator.options.title,
pageTitle: found.name,
mtime: mtime
});
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "panda-docs",
- "version": "0.3.18",
+ "version": "0.3.19",
"author": "Garen Torikian",
"keywords": ["documentation", "docs", "markdown"],
"description": "A complete documentation generation tool for Markdown files",

0 comments on commit f8f2f5a

Please sign in to comment.
Something went wrong with that request. Please try again.