@@ -6,27 +6,29 @@ module.exports = {
6
6
favicon : "img/favicon.ico" ,
7
7
organizationName : "nodegui" , // Usually your GitHub org/user name.
8
8
projectName : "react-nodegui" , // Usually your repo name.
9
+ onBrokenLinks : "warn" ,
10
+ onDuplicateRoutes : "warn" ,
9
11
themeConfig : {
10
12
navbar : {
11
13
title : "React NodeGui" ,
12
14
logo : {
13
15
alt : "NodeGui Logo" ,
14
- src : "img/logo-circle.png"
16
+ src : "img/logo-circle.png" ,
15
17
} ,
16
- links : [
18
+ items : [
17
19
{ to : "docs/guides/getting-started" , label : "Docs" , position : "right" } ,
18
20
{
19
21
to : "docs/api/interfaces/buttonprops" ,
20
22
label : "API" ,
21
- position : "right"
23
+ position : "right" ,
22
24
} ,
23
25
{ to : "blog" , label : "Blog" , position : "right" } ,
24
26
{
25
27
href : "https://github.com/nodegui/react-nodegui" ,
26
28
label : "GitHub" ,
27
- position : "right"
28
- }
29
- ]
29
+ position : "right" ,
30
+ } ,
31
+ ] ,
30
32
} ,
31
33
footer : {
32
34
style : "dark" ,
@@ -35,66 +37,66 @@ module.exports = {
35
37
title : "Docs" ,
36
38
items : [
37
39
{ to : "docs/guides/getting-started" , label : "Getting Started" } ,
38
- { to : "docs/api/interfaces/buttonprops" , label : "API" }
39
- ]
40
+ { to : "docs/api/interfaces/buttonprops" , label : "API" } ,
41
+ ] ,
40
42
} ,
41
43
{
42
44
title : "Community" ,
43
45
items : [
44
46
{
45
47
label : "Spectrum" ,
46
- href : "https://spectrum.chat/nodegui"
48
+ href : "https://spectrum.chat/nodegui" ,
47
49
} ,
48
50
{
49
51
label : "Twitter" ,
50
- to : "https://twitter.com/node_gui"
52
+ to : "https://twitter.com/node_gui" ,
51
53
} ,
52
54
{
53
55
label : "Medium" ,
54
- to : "https://medium.com/nodegui"
55
- }
56
- ]
56
+ to : "https://medium.com/nodegui" ,
57
+ } ,
58
+ ] ,
57
59
} ,
58
60
{
59
61
title : "More" ,
60
62
items : [
61
63
{
62
64
label : "Blog" ,
63
- to : "blog"
65
+ to : "blog" ,
64
66
} ,
65
67
{
66
68
label : "NodeGui" ,
67
- to : "https://nodegui.org"
69
+ to : "https://nodegui.org" ,
68
70
} ,
69
71
{
70
72
label : "FAQ" ,
71
- to : "https://nodegui.org/faq"
72
- }
73
- ]
74
- }
73
+ to : "https://nodegui.org/faq" ,
74
+ } ,
75
+ ] ,
76
+ } ,
75
77
] ,
76
- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } NodeGui`
78
+ copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } NodeGui` ,
77
79
} ,
78
80
googleAnalytics : {
79
- trackingID : "UA-145065218-2"
81
+ trackingID : "UA-145065218-2" ,
80
82
} ,
81
83
algolia : {
82
84
apiKey : "6ab12d669678aeba3bdf10b89f0c8db3" ,
83
85
indexName : "nodegui_react" ,
84
- algoliaOptions : { } // Optional, if provided by Algolia
85
- }
86
+ algoliaOptions : { } , // Optional, if provided by Algolia
87
+ } ,
86
88
} ,
87
89
presets : [
88
90
[
89
91
"@docusaurus/preset-classic" ,
90
92
{
91
93
docs : {
92
- sidebarPath : require . resolve ( "./sidebars.js" )
94
+ sidebarPath : require . resolve ( "./sidebars.js" ) ,
93
95
} ,
94
96
theme : {
95
- customCss : require . resolve ( "./src/css/custom.css" )
96
- }
97
- }
98
- ]
99
- ]
97
+ customCss : require . resolve ( "./src/css/custom.css" ) ,
98
+ } ,
99
+ } ,
100
+ ] ,
101
+ ] ,
100
102
} ;
0 commit comments