-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpf-docs.config.mjs
More file actions
45 lines (45 loc) · 1.45 KB
/
pf-docs.config.mjs
File metadata and controls
45 lines (45 loc) · 1.45 KB
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
40
41
42
43
44
45
export const config = {
content: [
// example content entry for local content, this would feed all markdown files in the content directory to the
// documentation core with a content identifier of 'content':
// {
// base: 'content',
// pattern: "*.md",
// name: 'content'
// },
//
// example content entry for remote content, this would fetch all markdown files matching the glob in 'pattern'
// from the specified npm package and serve them with a content identifier of 'react-component-docs':
{
packageName: '@patternfly/react-core',
pattern: '**/components/**/*.md',
name: 'react-component-docs',
},
{
packageName: '@patternfly/patternfly',
pattern: '*/**/*.md',
name: 'core-docs',
},
{
packageName: '@patternfly/quickstarts',
pattern: '*/patternfly-docs/**/*.md',
name: 'quickstarts-docs',
},
{ packageName: "@patternfly/react-user-feedback", pattern: "patternfly-docs/**/*.md", name: "user-feedback-docs" },
{ packageName: "@patternfly/react-data-view", pattern: "patternfly-docs/**/*.md", name: "data-view-docs" },
],
outputDir: './dist',
propsGlobs: [
{
include: ['*/@patternfly/react-core/src/**/*.tsx'],
exclude: [
'/**/examples/**',
'/**/__mocks__/**',
'/**/__tests__/**',
'/**/*.test.tsx',
],
},
],
navSectionOrder: ['get-started', 'design-foundations'],
scope: {},
}