grunt-sassdoc
Advanced tools
{ | ||
"name": "grunt-sassdoc", | ||
"title": "grunt-sassdoc", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "SassDoc grunt task", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"lodash": "^2.4.1", | ||
"sassdoc": "^1.0.0-rc.6" | ||
"sassdoc": "^1.0.0-rc.8" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -59,2 +59,9 @@ # grunt-sassdoc [](https://www.npmjs.org/package/grunt-sassdoc) [](https://travis-ci.org/pascalduez/grunt-sassdoc.svg?branch=master) | ||
#### version | ||
Type: `String | false` | ||
Default: `false` | ||
Whether to display project version next to the page title. | ||
#### display_access | ||
@@ -61,0 +68,0 @@ |
@@ -40,6 +40,6 @@ /* | ||
// Try to fetch a custom title from package, | ||
// defaults to 'SassDoc'. | ||
// Try to fetch some custom config from package, | ||
var pkg = grunt.file.readJSON('package.json'); | ||
var title = pkg ? pkg.title || pkg.name : 'SassDoc'; | ||
var version = pkg ? 'v' + pkg.version : false; | ||
@@ -49,2 +49,3 @@ var options = this.options({ | ||
title: title, | ||
version: version, | ||
display_access: ['public', 'private'], | ||
@@ -51,0 +52,0 @@ display_alias: false |
70
1.45%126
5.88%6201
-13.53%