mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fixup grunt docs task
This commit is contained in:
parent
954226da0d
commit
7e7117632d
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,3 +20,4 @@ nodes/core/locales/zz-ZZ
|
|||||||
!packages/node_modules
|
!packages/node_modules
|
||||||
packages/node_modules/@node-red/editor-client/public
|
packages/node_modules/@node-red/editor-client/public
|
||||||
!test/**/node_modules
|
!test/**/node_modules
|
||||||
|
docs
|
||||||
|
@ -415,7 +415,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
jsdoc : {
|
jsdoc : {
|
||||||
runtimeAPI: {
|
runtimeAPI: {
|
||||||
src: 'red/runtime-api/*.js',
|
src: 'packages/node_modules/@node-red/runtime/lib/api/*.js',
|
||||||
options: {
|
options: {
|
||||||
destination: 'docs',
|
destination: 'docs',
|
||||||
configure: './jsdoc.json'
|
configure: './jsdoc.json'
|
||||||
@ -427,7 +427,7 @@ module.exports = function(grunt) {
|
|||||||
options: {
|
options: {
|
||||||
separators: true
|
separators: true
|
||||||
},
|
},
|
||||||
src: 'red/runtime-api/*.js',
|
src: 'packages/node_modules/@node-red/runtime/lib/api/*.js',
|
||||||
dest: 'docs/runtime-api.md'
|
dest: 'docs/runtime-api.md'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user