Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 015bc4d

Browse filesBrowse files
committed
build: update API generator
1 parent ccd2cc5 commit 015bc4d
Copy full SHA for 015bc4d

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎build/docgen.config.js

Copy file name to clipboardExpand all lines: build/docgen.config.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ const pkg = require('./../package.json')
77

88
module.exports = {
99
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)
10+
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)
1115
outDir: 'docs/api', // folder to save components docs in (relative to the current working directry)
1216
getDocFileName: (componentPath) =>
1317
componentPath.replace(/\.ts$/, '.md'), // specify the name of the input md file

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.