forked from patternfly/patternfly-org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatternfly-docs.config.js
More file actions
55 lines (55 loc) · 1.52 KB
/
patternfly-docs.config.js
File metadata and controls
55 lines (55 loc) · 1.52 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
46
47
48
49
50
51
52
53
54
55
const componentsData = require('./pages/landing-pages/components/components-data.json');
// This module is shared between NodeJS and babelled ES5, if this extension only build
// exclude the other side nav items.
if (process.env.EXTENSIONS_ONLY === 'true') {
module.exports = {
hasGdprBanner: false,
hasFooter: false,
hasVersionSwitcher: false,
hasThemeSwitcher: true,
hasHighContrastSwitcher: false,
hasRTLSwitcher: false,
sideNavItems: [
{ section: 'extensions' }
],
topNavItems: [
],
port: 8003
};
} else {
module.exports = {
googleAnalyticsID: 'G-XRM3R81HJ6',
algolia: {
apiKey: 'a8fb1726b78594ff97a3418757514404',
appId: '79P4ZBH7A3',
indexName: 'patternfly'
},
hasGdprBanner: true,
hasFooter: true,
hasVersionSwitcher: true,
hasDesignGuidelines: true,
hasThemeSwitcher: true,
hasHighContrastSwitcher: false,
componentsData,
sideNavItems: [
{ section: 'get-started' },
{ section: 'design-foundations' },
{ section: 'tokens' },
{ section: 'PatternFly-AI' },
{ section: 'accessibility' },
{ section: 'UX writing' },
{ section: 'components' },
{ section: 'patterns' },
{ section: 'extensions' },
{ section: 'Component groups'},
{ section: 'charts' },
{ section: 'topology' },
{ section: 'layouts' },
{ section: 'utility-classes' },
{ section: 'developer-resources' },
{ section: 'training' },
],
topNavItems: [],
port: 8003,
}
};