We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd2cc5 commit 015bc4dCopy full SHA for 015bc4d
build/docgen.config.js
@@ -7,7 +7,11 @@ const pkg = require('./../package.json')
7
8
module.exports = {
9
componentsRoot: 'src/components', // the folder where CLI will start searching for components.
10
- components: '**/[A-Z]*.ts', // the glob to define what files should be documented as components (relative to componentRoot)
+ components: [
11
+ '**/[A-Z]*.ts',
12
+ '!**/[A-Z]*.spec.ts'
13
+ ],
14
+ // the glob to define what files should be documented as components (relative to componentRoot)
15
outDir: 'docs/api', // folder to save components docs in (relative to the current working directry)
16
getDocFileName: (componentPath) =>
17
componentPath.replace(/\.ts$/, '.md'), // specify the name of the input md file
0 commit comments