1.0.8 • Published 4 years ago
malta-jsdoc v1.0.8
This plugin can be used on: .js files and even on .coffee and .ts files after using the right plugin
jsdoc
needs to be available from the console.
Options :
- d : the folder where all documentation must be generated, relative to outdir.
- c : the path of the config.json for jsdoc, relative to template folder
- t : absolute path for the template
Sample usage:
malta app/source/index.js public/js -plugins=malta-jsdoc[outFolder:\"docs\"]
or in the .json file :
"app/source/index.js" : "public/js -plugins=malta-jsdoc[d:'docs']",
"app/source/index.ts" : "public/js -plugins=malta-typescript...malta-jsdoc[d:'docs']"
or in a script :
var Malta = require('malta');
Malta.get().check([
'app/source/index.js',
'public/js',
'-plugins=malta-jsdoc[d:"docs"]',
'-options=showPath:false,watchInterval:500,verbose:0'
]).start(function (o) {
var s = this;
console.log('name : ' + o.name)
console.log("content : \n" + o.content);
'plugin' in o && console.log("plugin : " + o.plugin);
console.log('=========');
});
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
8 years ago
0.0.2
8 years ago