@@ -20,18 +20,18 @@ const siteConfig = {
2020 routeBasePath : '/' ,
2121 include : [
2222 '{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
2525 } ,
2626 theme : {
2727 customCss : [
2828 require . resolve ( './static/css/custom.css' ) ,
2929 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+ ]
3535 ] ,
3636 title : 'React Redux' , // Title for your website.
3737 onBrokenLinks : 'throw' ,
@@ -70,14 +70,14 @@ const siteConfig = {
7070 {
7171 src :
7272 'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js' ,
73- async : true ,
74- } ,
73+ async : true
74+ }
7575 ] ,
7676
7777 // You may provide arbitrary config keys to be used as needed by your
7878 // template. For example, if you need your repo's URL...
7979 customFields : {
80- repoUrl : 'https://github.com/reduxjs/react-redux' ,
80+ repoUrl : 'https://github.com/reduxjs/react-redux'
8181 } ,
8282 /**
8383 * Note:
@@ -89,50 +89,50 @@ const siteConfig = {
8989 themeConfig : {
9090 metadatas : [ { name : 'twitter:card' , content : 'summary' } ] ,
9191 prism : {
92- theme : require ( './static/scripts/monokaiTheme.js' ) ,
92+ theme : require ( './static/scripts/monokaiTheme.js' )
9393 } ,
9494 image : 'img/redux-logo-landscape.png' ,
9595 navbar : {
9696 title : 'React Redux' ,
9797 logo : {
9898 alt : 'Redux Logo' ,
99- src : 'img/redux.svg' ,
99+ src : 'img/redux.svg'
100100 } ,
101101 items : [
102102 {
103103 type : 'docsVersionDropdown' ,
104- position : 'left' ,
104+ position : 'left'
105105 // Do not add the link active class when browsing docs.
106106 } ,
107107 {
108108 to : 'introduction/quick-start' ,
109109 label : 'Quick Start' ,
110- position : 'right' ,
110+ position : 'right'
111111 } ,
112112 {
113113 to : 'using-react-redux/connect-mapstate' ,
114114 label : 'Using React Redux' ,
115- position : 'right' ,
115+ position : 'right'
116116 } ,
117- { to : 'api/connect ' , label : 'API' , position : 'right' } ,
117+ { to : 'api/hooks ' , label : 'API' , position : 'right' } ,
118118 {
119119 href : 'https://www.github.com/reduxjs/react-redux' ,
120120 label : 'GitHub' ,
121121 position : 'right' ,
122- className : 'github' ,
122+ className : 'github'
123123 } ,
124124 {
125125 href : '/introduction/quick-start#help-and-discussion' ,
126126 label : 'Need help?' ,
127- position : 'right' ,
128- } ,
129- ] ,
127+ position : 'right'
128+ }
129+ ]
130130 } ,
131131 footer : {
132132 style : 'dark' ,
133133 logo : {
134134 alt : 'Redux Logo' ,
135- src : 'img/redux_white.svg' ,
135+ src : 'img/redux_white.svg'
136136 } ,
137137 copyright :
138138 'Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.' ,
@@ -142,41 +142,41 @@ const siteConfig = {
142142 items : [
143143 {
144144 label : 'Introduction' ,
145- to : 'introduction/quick-start' ,
145+ to : 'introduction/quick-start'
146146 } ,
147147 {
148148 label : 'Using React Redux' ,
149- to : 'using-react-redux/connect-mapstate' ,
149+ to : 'using-react-redux/connect-mapstate'
150150 } ,
151151 {
152152 label : 'API Reference' ,
153- to : 'api/connect' ,
153+ to : 'api/hooks'
154154 } ,
155155 {
156156 label : 'Guides' ,
157- to : 'troubleshooting' ,
158- } ,
159- ] ,
157+ to : 'troubleshooting'
158+ }
159+ ]
160160 } ,
161161 {
162162 title : 'Community' ,
163163 items : [
164164 {
165165 label : 'Stack Overflow' ,
166- href : 'https://stackoverflow.com/questions/tagged/react-redux' ,
166+ href : 'https://stackoverflow.com/questions/tagged/react-redux'
167167 } ,
168168 {
169169 label : 'Discord' ,
170- href : 'https://discord.gg/0ZcbPKXt5bZ6au5t' ,
171- } ,
172- ] ,
170+ href : 'https://discord.gg/0ZcbPKXt5bZ6au5t'
171+ }
172+ ]
173173 } ,
174174 {
175175 title : 'More' ,
176176 items : [
177177 {
178178 label : 'GitHub' ,
179- href : 'https://github.com/reduxjs/react-redux' ,
179+ href : 'https://github.com/reduxjs/react-redux'
180180 } ,
181181 {
182182 html : `
@@ -191,7 +191,7 @@ const siteConfig = {
191191 >
192192 Star
193193 </a>
194- ` ,
194+ `
195195 } ,
196196 {
197197 html : `
@@ -201,21 +201,21 @@ const siteConfig = {
201201 alt="Deploys by Netlify"
202202 />
203203 </a>
204- ` ,
205- } ,
206- ] ,
207- } ,
208- ] ,
204+ `
205+ }
206+ ]
207+ }
208+ ]
209209 } ,
210210 algolia : {
211211 apiKey : '2d058d216b7fd5d68d481fd48ee72c06' ,
212212 indexName : 'react-redux' ,
213- algoliaOptions : { } ,
213+ algoliaOptions : { }
214214 } ,
215215 googleAnalytics : {
216- trackingID : 'UA-130598673-2' ,
217- } ,
218- } ,
216+ trackingID : 'UA-130598673-2'
217+ }
218+ }
219219}
220220
221221module . exports = siteConfig
0 commit comments