grunt-jsreg-jsdoc-to-md

0.0.2 • Public • Published

view on npm npm module downloads

grunt-jsreg-jsdoc-to-md

A grunt plugin for jsdoc-to-markdown.

It is designed for multi js package projects, which are typically used in map.apps projects using the js registry.

Install

$ npm install grunt-jsreg-jsdoc-to-md --save-dev

Usage

Example Gruntfile.js:

'use strict'
module.exports = function (grunt) {
 
  grunt.initConfig({
    jsreg_jsdoc2md: {
        generate_apidocs: {
            files: [{
                    expand: true,
                    cwd: 'src/',
                    src: ['**/.apidoc'],
                    dest: 'dest/'
                }]
        }
    }
  })
 
  grunt.loadNpmTasks('grunt-jsreg-jsdoc-to-md')
  grunt.registerTask('default', 'jsreg_jsdoc2md')
}

The files configuration of the plugin assumes that the src option identifies a .apidoc file. This is a flag file to indicate that for this package the api documentation should be generated. The dest directory is the target directory in which the API.md file are created.

Readme

Keywords

Package Sidebar

Install

npm i grunt-jsreg-jsdoc-to-md

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Last publish

Collaborators

  • a.frank
  • jessebluemr
  • schneiderlars
  • julkuh
  • m-scherpi
  • mbeckem_conterra
  • conterrade