From 7999ca32241e785df539fc0d3a354f97bc2266a0 Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Mon, 14 Jan 2019 21:46:21 +0000 Subject: Generate searchable JSDoc documentation --- config/jsdocs.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config/jsdocs.config.js (limited to 'config') diff --git a/config/jsdocs.config.js b/config/jsdocs.config.js new file mode 100644 index 00000000000..52635b1ce13 --- /dev/null +++ b/config/jsdocs.config.js @@ -0,0 +1,14 @@ +module.exports = { + source: { + include: ['app/assets/javascripts/'], + }, + opts: { + template: 'node_modules/docdash', + destination: 'jsdoc/', + recurse: true, + }, + docdash: { + search: true, + static: true, + }, +}; -- cgit v1.2.3