From 71aaf1fa4adfa69bfe609baa9e977cf411983d5d Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Mon, 11 Sep 2017 13:13:40 +0000 Subject: [PATCH] Docs: Add jsdoc.conf.json JSDOC configuration file. Left this file off by mistake in [41351]. Fixes #41682. git-svn-id: https://develop.svn.wordpress.org/trunk@41370 602fd350-edb4-49c9-b593-d223f7449a82 --- jsdoc.conf.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 jsdoc.conf.json diff --git a/jsdoc.conf.json b/jsdoc.conf.json new file mode 100644 index 0000000000..b9282788b3 --- /dev/null +++ b/jsdoc.conf.json @@ -0,0 +1,40 @@ +{ + "plugins": [], + "recurseDepth": 10, + "source": { + "include": ["src/wp-includes/js"], + "exclude": [ + "src/wp-includes/js/tinymce", + "src/wp-includes/js/crop", + "src/wp-includes/js/imgareaselect", + "src/wp-includes/js/jcrop", + "src/wp-includes/js/jquery", + "src/wp-includes/js/mediaelement", + "src/wp-includes/js/swfupload", + "src/wp-includes/js/thickbox", + "src/wp-includes/js/media-audiovideo.js", + "src/wp-includes/js/media-grid.js", + "src/wp-includes/js/media-models.js", + "src/wp-includes/js/media-views.js" + ], + "includePattern": ".+\\.js(doc|x)?$", + "excludePattern": "(^|\\/|\\\\)_" + }, + "sourceType": "module", + "tags": { + "allowUnknownTags": true, + "dictionaries": ["jsdoc","closure"] + }, + "templates": { + "cleverLinks": false, + "monospaceLinks": false, + "theme": "united", + "outputSourceFiles": true, + "outputSourcePath": true, + "linenums": true + }, + "opts": { + "template": "./node_modules/ink-docstrap/template", + "recurse": true + } +}