diff --git a/apidoc/conf.json b/apidoc/conf.json index 5c56857620..8131a4bc6e 100644 --- a/apidoc/conf.json +++ b/apidoc/conf.json @@ -8,7 +8,13 @@ }, "source": { "includePattern": ".+\\.js(doc)?$", - "excludePattern": "(^|\\/|\\\\)_" + "excludePattern": "(^|\\/|\\\\)_", + "exclude": [ + "src/googx/dom/fullscreen.js" + ], + "include": [ + "src" + ] }, "plugins": [ "plugins/markdown", diff --git a/build.py b/build.py index f076dd6999..db326bc42b 100755 --- a/build.py +++ b/build.py @@ -625,7 +625,7 @@ virtual('apidoc', 'build/jsdoc-%(BRANCH)s-timestamp' % vars(variables)) 'build/src/external/src/exports.js', SRC, SHADER_SRC, ifind('apidoc/template')) def jsdoc_BRANCH_timestamp(t): - t.run('%(JSDOC)s', '-c', 'apidoc/conf.json', 'src', 'apidoc/index.md', + t.run('%(JSDOC)s', 'apidoc/index.md', '-c', 'apidoc/conf.json', '-d', 'build/hosted/%(BRANCH)s/apidoc') t.touch()