grunt-readme
Version:
Grunt plugin for generating a README from templates, including an optional table of contents. No Gruntfile config is necessary, just choose a starter template and you'll be ready to go.
66 lines (46 loc) • 1.45 kB
Markdown
# {{{%= name %}}} [](http://badge.fury.io/js/helper-{%= name %})
> {%= name %} handlebars helper, for doing foo, bar and baz.
## Quickstart
In the root of your project, run the following in the command line:
```bash
npm i helper-{%= name %} --save-dev
```
## Usage
```handlebars
{{{%= name %} "path/to/file.{%= name %}"}}
```
## Usage in Assemble
In your Gruntfile, simply add `helper-{%= name %}` to the `helpers` property in the [Assemble](http://assemble.io) task or target options:
```javascript
grunt.initConfig({
assemble: {
options: {
helpers: ['helper-{%= name %}']
}
...
}
});
```
With that completed, you may now being using the `{%= name %}` helper in your Assemble project.
## Options
### task options
Options can be set in your Gruntfile, in the `{%= name %}` object in the Assemble task or target options:
```javascript
grunt.initConfig({
assemble: {
options: {
{%= _.shortname(name) %}: {
foo: true
}
}
...
}
});
```
## Author
+ [github/{%= author.name %}]({%= author.url %})
+ [twitter/{%= author.name %}](http://twitter.com/{%= author.name %})
## License and Copyright
Licensed under the [MIT License](./LICENSE-MIT)
Copyright (c) Jon Schlinkert, contributors.
_This file was generated by [grunt-readme](https://github.com/assemble/grunt-readme) on {%= grunt.template.date("fullDate") %}._