-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsdoc.config.js
39 lines (32 loc) · 1.03 KB
/
jsdoc.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
'use strict';
module.exports = {
source: {
include: ['src'],
includePattern: '\\.(jsx|js|ts|tsx)$',
},
tags: {
allowUnknownTags: true,
},
plugins: ['plugins/markdown', 'node_modules/better-docs/typescript', 'node_modules/better-docs/category'],
opts: {
recurse: true,
readme: './docs/README.md',
destination: 'docs/',
template: 'node_modules/better-docs',
},
templates: {
// search: true,
default: {
outputSourceFiles: false,
},
'better-docs': {
// name: 'Web Event SDK Documentation',
title: 'Spresso Web Event SDK',
logo: 'static/images/logo.jpeg',
css: 'static/styles/style.css',
head: '<link rel="icon" type="image/svg+xml" href="https://app.spresso.com/public/favicon.svg" />',
navLinks: [{ label: 'GitHub', href: 'https://github.com/spressoinsights/spresso-sdk-tracking-web' }],
hideGenerator: true,
},
},
};