-
Notifications
You must be signed in to change notification settings - Fork 4
/
Gruntfile.js
33 lines (32 loc) · 981 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"use strict";
module.exports = function (grunt) {
grunt.initConfig({
jsdoc2md: {
// oneOutputFile: {
// src: '/*.js',
// dest: 'docs/documentation.md'
// },
separateOutputFilePerInput: {
files: [
{ src: "helpers/fifo-handler.js", dest: "docs/md/fifo-handler.md" },
{ src: "helpers/rcon.js", dest: "docs/md/rcon.md" },
{ src: "helpers/serverHandler.js", dest: "docs/md/serverHandler.md" },
{
src: "helpers/serverUPSHandler.js",
dest: "docs/md/serverUPSHandler.md",
},
{ src: "helpers/functions.js", dest: "docs/md/functions.md" },
],
},
// withOptions: {
// options: {
// 'no-gfm': false
// },
// src: 'src/wardrobe.js',
// dest: 'api/with-index.md'
// }
},
});
grunt.loadNpmTasks("grunt-jsdoc-to-markdown");
grunt.registerTask("default", "jsdoc2md");
};