Skip to content

Commit 3745cb6

Browse files
committed
chore(example): create jsdoc configuration file for Tui template
1 parent 3d341ca commit 3745cb6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

example/jsdoc-tui.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const config = Object.assign({}, require('./jsdoc'));
2+
3+
config.opts.destination = 'docs-tui';
4+
config.opts.template = './node_modules/tui-jsdoc-template';
5+
6+
module.exports = config;

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"scripts": {
33
"docs": "jsdoc -d docs -c jsdoc.js",
4-
"docs:tui": "jsdoc -d docs-tui -c jsdoc.js -t ./node_modules/tui-jsdoc-template"
54
"docs:docstrap": "jsdoc -c jsdoc-docstrap.js",
65
"docs:minami": "jsdoc -c jsdoc-minami.js",
6+
"docs:tui": "jsdoc -c jsdoc-tui.js"
77
},
88
"dependencies": {
99
"ink-docstrap": "^1.3.2",

0 commit comments

Comments
 (0)