@@ -20,18 +20,18 @@ const siteConfig = {
20
20
routeBasePath : '/' ,
21
21
include : [
22
22
'{api,introduction,using-react-redux}/*.{md,mdx}' ,
23
- 'troubleshooting.md' ,
24
- ] , // no other way to exclude node_modules
23
+ 'troubleshooting.md'
24
+ ] // no other way to exclude node_modules
25
25
} ,
26
26
theme : {
27
27
customCss : [
28
28
require . resolve ( './static/css/custom.css' ) ,
29
29
require . resolve ( './static/css/404.css' ) ,
30
- require . resolve ( './static/css/codeblock.css' ) ,
31
- ] ,
32
- } ,
33
- } ,
34
- ] ,
30
+ require . resolve ( './static/css/codeblock.css' )
31
+ ]
32
+ }
33
+ }
34
+ ]
35
35
] ,
36
36
title : 'React Redux' , // Title for your website.
37
37
onBrokenLinks : 'throw' ,
@@ -70,14 +70,14 @@ const siteConfig = {
70
70
{
71
71
src :
72
72
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js' ,
73
- async : true ,
74
- } ,
73
+ async : true
74
+ }
75
75
] ,
76
76
77
77
// You may provide arbitrary config keys to be used as needed by your
78
78
// template. For example, if you need your repo's URL...
79
79
customFields : {
80
- repoUrl : 'https://github.com/reduxjs/react-redux' ,
80
+ repoUrl : 'https://github.com/reduxjs/react-redux'
81
81
} ,
82
82
/**
83
83
* Note:
@@ -89,50 +89,50 @@ const siteConfig = {
89
89
themeConfig : {
90
90
metadatas : [ { name : 'twitter:card' , content : 'summary' } ] ,
91
91
prism : {
92
- theme : require ( './static/scripts/monokaiTheme.js' ) ,
92
+ theme : require ( './static/scripts/monokaiTheme.js' )
93
93
} ,
94
94
image : 'img/redux-logo-landscape.png' ,
95
95
navbar : {
96
96
title : 'React Redux' ,
97
97
logo : {
98
98
alt : 'Redux Logo' ,
99
- src : 'img/redux.svg' ,
99
+ src : 'img/redux.svg'
100
100
} ,
101
101
items : [
102
102
{
103
103
type : 'docsVersionDropdown' ,
104
- position : 'left' ,
104
+ position : 'left'
105
105
// Do not add the link active class when browsing docs.
106
106
} ,
107
107
{
108
108
to : 'introduction/quick-start' ,
109
109
label : 'Quick Start' ,
110
- position : 'right' ,
110
+ position : 'right'
111
111
} ,
112
112
{
113
113
to : 'using-react-redux/connect-mapstate' ,
114
114
label : 'Using React Redux' ,
115
- position : 'right' ,
115
+ position : 'right'
116
116
} ,
117
- { to : 'api/connect ' , label : 'API' , position : 'right' } ,
117
+ { to : 'api/hooks ' , label : 'API' , position : 'right' } ,
118
118
{
119
119
href : 'https://github.com/reduxjs/react-redux' ,
120
120
label : 'GitHub' ,
121
121
position : 'right' ,
122
- className : 'github' ,
122
+ className : 'github'
123
123
} ,
124
124
{
125
125
href : '/introduction/quick-start#help-and-discussion' ,
126
126
label : 'Need help?' ,
127
- position : 'right' ,
128
- } ,
129
- ] ,
127
+ position : 'right'
128
+ }
129
+ ]
130
130
} ,
131
131
footer : {
132
132
style : 'dark' ,
133
133
logo : {
134
134
alt : 'Redux Logo' ,
135
- src : 'img/redux_white.svg' ,
135
+ src : 'img/redux_white.svg'
136
136
} ,
137
137
copyright :
138
138
'Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.' ,
@@ -142,41 +142,41 @@ const siteConfig = {
142
142
items : [
143
143
{
144
144
label : 'Introduction' ,
145
- to : 'introduction/quick-start' ,
145
+ to : 'introduction/quick-start'
146
146
} ,
147
147
{
148
148
label : 'Using React Redux' ,
149
- to : 'using-react-redux/connect-mapstate' ,
149
+ to : 'using-react-redux/connect-mapstate'
150
150
} ,
151
151
{
152
152
label : 'API Reference' ,
153
- to : 'api/connect' ,
153
+ to : 'api/hooks'
154
154
} ,
155
155
{
156
156
label : 'Guides' ,
157
- to : 'troubleshooting' ,
158
- } ,
159
- ] ,
157
+ to : 'troubleshooting'
158
+ }
159
+ ]
160
160
} ,
161
161
{
162
162
title : 'Community' ,
163
163
items : [
164
164
{
165
165
label : 'Stack Overflow' ,
166
- href : 'https://stackoverflow.com/questions/tagged/react-redux' ,
166
+ href : 'https://stackoverflow.com/questions/tagged/react-redux'
167
167
} ,
168
168
{
169
169
label : 'Discord' ,
170
- href : 'https://discord.gg/0ZcbPKXt5bZ6au5t' ,
171
- } ,
172
- ] ,
170
+ href : 'https://discord.gg/0ZcbPKXt5bZ6au5t'
171
+ }
172
+ ]
173
173
} ,
174
174
{
175
175
title : 'More' ,
176
176
items : [
177
177
{
178
178
label : 'GitHub' ,
179
- href : 'https://github.com/reduxjs/react-redux' ,
179
+ href : 'https://github.com/reduxjs/react-redux'
180
180
} ,
181
181
{
182
182
html : `
@@ -191,7 +191,7 @@ const siteConfig = {
191
191
>
192
192
Star
193
193
</a>
194
- ` ,
194
+ `
195
195
} ,
196
196
{
197
197
html : `
@@ -201,21 +201,21 @@ const siteConfig = {
201
201
alt="Deploys by Netlify"
202
202
/>
203
203
</a>
204
- ` ,
205
- } ,
206
- ] ,
207
- } ,
208
- ] ,
204
+ `
205
+ }
206
+ ]
207
+ }
208
+ ]
209
209
} ,
210
210
algolia : {
211
211
apiKey : '2d058d216b7fd5d68d481fd48ee72c06' ,
212
212
indexName : 'react-redux' ,
213
- algoliaOptions : { } ,
213
+ algoliaOptions : { }
214
214
} ,
215
215
googleAnalytics : {
216
- trackingID : 'UA-130598673-2' ,
217
- } ,
218
- } ,
216
+ trackingID : 'UA-130598673-2'
217
+ }
218
+ }
219
219
}
220
220
221
221
module . exports = siteConfig
0 commit comments