Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add `page` property to non-component pages, set to `true`.

  • Loading branch information...
commit e4a6cea41851e1fe99e5aaff67f7b8b3eff84399 1 parent cebf652
Ryan Grove authored

Showing 3 changed files with 11 additions and 3 deletions. Show diff stats Hide diff stats

  1. +7 0 HISTORY.md
  2. +1 0  lib/view/index.js
  3. +3 3 package.json
7 HISTORY.md
Source Rendered
... ... @@ -1,6 +1,13 @@
1 1 Selleck History
2 2 ===============
3 3
  4 +0.1.5 (git)
  5 +-----------
  6 +
  7 +* Views for non-component and non-example pages now have a boolean `page`
  8 + property that's set to `true` (examples similarly have an `example` property).
  9 +
  10 +
4 11 0.1.4 (2011-06-28)
5 12 ------------------
6 13
1  lib/view/index.js
@@ -25,6 +25,7 @@ function View(data, templateName) {
25 25 // If the name of the current template matches the name of a page
26 26 // with custom metadata, mix the page's metadata into the view.
27 27 if (this.pages[this.templateName]) {
  28 + this.page = true;
28 29 util.mix(this, this.pages[this.templateName]);
29 30 }
30 31 }
6 package.json
... ... @@ -1,13 +1,13 @@
1 1 {
2 2 "name" : "selleck",
3   - "description": "Generator for YUI's mustache-based user documentation.",
  3 + "description": "Generator for YUI's Handlebars-based user documentation.",
4 4
5   - "version" : "0.1.4",
  5 + "version" : "0.1.5-git",
6 6 "homepage" : "https://github.com/rgrove/selleck/",
7 7 "author" : "Ryan Grove <ryan@wonko.com> (http://wonko.com/)",
8 8 "copyright" : "Copyright (c) 2011 Yahoo! Inc. All rights reserved.",
9 9
10   - "keywords" : ["yui", "mustache", "docs", "documentation"],
  10 + "keywords" : ["yui", "handlebars", "mustache", "docs", "documentation"],
11 11
12 12 "licenses": [
13 13 {"type": "BSD", "url": "http://developer.yahoo.com/yui/license.html"}

0 comments on commit e4a6cea

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