From 32524d186a4383e35959618b1926435185dacf1f Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 6 Mar 2014 16:06:51 +0100 Subject: [PATCH 1/2] Add explicit includes/excludes to jsdoc config. --- apidoc/conf.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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", From 4107b140a61fa5917314b558a01c374be075cb84 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 6 Mar 2014 16:08:46 +0100 Subject: [PATCH 2/2] Adjust parameters of jsdoc-call in build.py. The `src`-directory is no longer defined on the commmandline and the `index.md` as explicit source file is now the first argument. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()