diff --git a/.gitignore b/.gitignore index d22f0266b..25fca64a5 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ nodes/core/locales/zz-ZZ !packages/node_modules packages/node_modules/@node-red/editor-client/public !test/**/node_modules +docs diff --git a/Gruntfile.js b/Gruntfile.js index 065dc7236..a11852854 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -415,7 +415,7 @@ module.exports = function(grunt) { }, jsdoc : { runtimeAPI: { - src: 'red/runtime-api/*.js', + src: 'packages/node_modules/@node-red/runtime/lib/api/*.js', options: { destination: 'docs', configure: './jsdoc.json' @@ -427,7 +427,7 @@ module.exports = function(grunt) { options: { separators: true }, - src: 'red/runtime-api/*.js', + src: 'packages/node_modules/@node-red/runtime/lib/api/*.js', dest: 'docs/runtime-api.md' } }