forked from webpack/webpack-doc-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc-kit.config.mjs
More file actions
27 lines (26 loc) · 763 Bytes
/
doc-kit.config.mjs
File metadata and controls
27 lines (26 loc) · 763 Bytes
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
/**
* Configuration for @node-core/doc-kit when generating webpack API docs.
*
* @type {import('@node-core/doc-kit/src/utils/configuration/types').Configuration}
*/
export default {
global: {
// Point GitHub links to the webpack repository instead of nodejs/node
repository: 'webpack/webpack',
// Input & Output
input: ['./pages/v5.x/**/*.md'],
output: 'out',
},
metadata: {
typeMap: './pages/v5.x/type-map.json',
},
web: {
// Use "webpack" as the product name in navbar and sidebar labels
title: 'webpack',
},
'jsx-ast': {
// Disable the "Edit this page" link — webpack API docs are generated from
// TypeScript types and don't have a corresponding hand-editable source file.
editURL: '',
},
};