yocto-grunt-apidoc
Plugin for generate comments file for apidoc
This module load all json file in a specific folder, and translate this data in a comments file that will be imported by apidoc for generate doc
For the structure of json file please refer to the yocto-api node module at :
Getting Started
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-yocto-generator-apidoc --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The "yocto_generator_apidoc" task
Overview
In your project's Gruntfile, add a section named yocto_generator_apidoc
to the data object passed into grunt.initConfig()
.
grunt;
Options
options.modelsFolder
Type: String
The directory path where all you models are.
options.dest
Type: String
The file of you comment file which will be create
Examples
grunt;