Skip to content

Commit 96bf941

Browse files
authoredDec 23, 2020
Link directly to #redux on Reactiflux (#1673)
1 parent 1f07ec1 commit 96bf941

File tree

12 files changed

+70
-61
lines changed

12 files changed

+70
-61
lines changed
 

‎docs/introduction/quick-start.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ export default connect(mapStateToProps, mapDispatchToProps)(Counter)
8282

8383
## Help and Discussion
8484

85-
The **[#redux channel](https://discord.gg/reactiflux)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
85+
The **[#redux channel](https://discord.gg/0ZcbPKXt5bZ6au5t)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
8686

8787
You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.

‎docs/introduction/why-use-react-redux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com
8383

8484
### Community Resources
8585

86-
- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
86+
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
8787
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
8888
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
8989
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues

‎website/docusaurus.config.js

+51-29
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { resolve } = require('path');
1+
const { resolve } = require('path')
22
/**
33
* Copyright (c) 2017-present, Facebook, Inc.
44
*
@@ -18,17 +18,20 @@ const siteConfig = {
1818
path: '../docs',
1919
sidebarPath: require.resolve('./sidebars.json'),
2020
routeBasePath: '/',
21-
include: ['{api,introduction,using-react-redux}/*.{md,mdx}', 'troubleshooting.md'], // no other way to exclude node_modules
21+
include: [
22+
'{api,introduction,using-react-redux}/*.{md,mdx}',
23+
'troubleshooting.md',
24+
], // no other way to exclude node_modules
2225
},
2326
theme: {
2427
customCss: [
2528
require.resolve('./static/css/custom.css'),
2629
require.resolve('./static/css/404.css'),
27-
require.resolve('./static/css/codeblock.css')
30+
require.resolve('./static/css/codeblock.css'),
2831
],
2932
},
30-
}
31-
]
33+
},
34+
],
3235
],
3336
title: 'React Redux', // Title for your website.
3437
onBrokenLinks: 'throw',
@@ -65,7 +68,8 @@ const siteConfig = {
6568
'/scripts/sidebarScroll.js',
6669
'/scripts/codeblock.js',
6770
{
68-
src: 'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
71+
src:
72+
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
6973
async: true,
7074
},
7175
],
@@ -85,7 +89,7 @@ const siteConfig = {
8589
themeConfig: {
8690
metadatas: [{ name: 'twitter:card', content: 'summary' }],
8791
prism: {
88-
theme: require('./static/scripts/monokaiTheme.js')
92+
theme: require('./static/scripts/monokaiTheme.js'),
8993
},
9094
image: 'img/redux-logo-landscape.png',
9195
navbar: {
@@ -100,11 +104,28 @@ const siteConfig = {
100104
position: 'left',
101105
// Do not add the link active class when browsing docs.
102106
},
103-
{ to: 'introduction/quick-start', label: 'Quick Start', position: 'right' },
104-
{ to: 'using-react-redux/connect-mapstate', label: 'Using React Redux', position: 'right' },
107+
{
108+
to: 'introduction/quick-start',
109+
label: 'Quick Start',
110+
position: 'right',
111+
},
112+
{
113+
to: 'using-react-redux/connect-mapstate',
114+
label: 'Using React Redux',
115+
position: 'right',
116+
},
105117
{ to: 'api/connect', label: 'API', position: 'right' },
106-
{ href: 'https://www.github.com/reduxjs/react-redux', label: 'GitHub', position: 'right', className: 'github' },
107-
{ href: '/introduction/quick-start#help-and-discussion', label: 'Need help?', position: 'right' }
118+
{
119+
href: 'https://www.github.com/reduxjs/react-redux',
120+
label: 'GitHub',
121+
position: 'right',
122+
className: 'github',
123+
},
124+
{
125+
href: '/introduction/quick-start#help-and-discussion',
126+
label: 'Need help?',
127+
position: 'right',
128+
},
108129
],
109130
},
110131
footer: {
@@ -113,41 +134,42 @@ const siteConfig = {
113134
alt: 'Redux Logo',
114135
src: 'img/redux_white.svg',
115136
},
116-
copyright: 'Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.',
137+
copyright:
138+
'Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.',
117139
links: [
118140
{
119141
title: 'Docs',
120142
items: [
121143
{
122144
label: 'Introduction',
123-
to: 'introduction/quick-start'
145+
to: 'introduction/quick-start',
124146
},
125147
{
126148
label: 'Using React Redux',
127-
to: 'using-react-redux/connect-mapstate'
149+
to: 'using-react-redux/connect-mapstate',
128150
},
129151
{
130152
label: 'API Reference',
131-
to: 'api/connect'
153+
to: 'api/connect',
132154
},
133155
{
134156
label: 'Guides',
135-
to: 'troubleshooting'
136-
}
137-
]
157+
to: 'troubleshooting',
158+
},
159+
],
138160
},
139161
{
140162
title: 'Community',
141163
items: [
142164
{
143165
label: 'Stack Overflow',
144-
href: 'https://stackoverflow.com/questions/tagged/react-redux'
166+
href: 'https://stackoverflow.com/questions/tagged/react-redux',
145167
},
146168
{
147169
label: 'Discord',
148-
href: 'https://discord.gg/reactiflux',
149-
}
150-
]
170+
href: 'https://discord.gg/0ZcbPKXt5bZ6au5t',
171+
},
172+
],
151173
},
152174
{
153175
title: 'More',
@@ -169,7 +191,7 @@ const siteConfig = {
169191
>
170192
Star
171193
</a>
172-
`
194+
`,
173195
},
174196
{
175197
html: `
@@ -179,21 +201,21 @@ const siteConfig = {
179201
alt="Deploys by Netlify"
180202
/>
181203
</a>
182-
`
183-
}
184-
]
185-
}
204+
`,
205+
},
206+
],
207+
},
186208
],
187209
},
188210
algolia: {
189211
apiKey: '2d058d216b7fd5d68d481fd48ee72c06',
190212
indexName: 'react-redux',
191-
algoliaOptions: {}
213+
algoliaOptions: {},
192214
},
193215
googleAnalytics: {
194216
trackingID: 'UA-130598673-2',
195217
},
196-
}
218+
},
197219
}
198220

199221
module.exports = siteConfig

‎website/versioned_docs/version-5.x/introduction/why-use-react-redux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ As the official binding library for React and Redux, React-Redux has a large com
8181

8282
### Community Resources
8383

84-
- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
84+
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
8585
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React-Redux](https://stackoverflow.com/questions/tagged/redux)
8686
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
8787
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues

‎website/versioned_docs/version-6.x/introduction/quick-start.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,17 @@ import { increment, decrement, reset } from './actionCreators'
6363

6464
const mapStateToProps = (state /*, ownProps*/) => {
6565
return {
66-
counter: state.counter
66+
counter: state.counter,
6767
}
6868
}
6969

7070
const mapDispatchToProps = { increment, decrement, reset }
7171

72-
export default connect(
73-
mapStateToProps,
74-
mapDispatchToProps
75-
)(Counter)
72+
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
7673
```
7774

78-
7975
## Help and Discussion
8076

81-
The **[#redux channel](https://discord.gg/reactiflux)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
77+
The **[#redux channel](https://discord.gg/0ZcbPKXt5bZ6au5t)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
8278

8379
You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.

‎website/versioned_docs/version-6.x/introduction/why-use-react-redux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com
8383

8484
### Community Resources
8585

86-
- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
86+
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
8787
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
8888
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
8989
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues

‎website/versioned_docs/version-7.0/introduction/quick-start.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@ import { increment, decrement, reset } from './actionCreators'
6363

6464
const mapStateToProps = (state /*, ownProps*/) => {
6565
return {
66-
counter: state.counter
66+
counter: state.counter,
6767
}
6868
}
6969

7070
const mapDispatchToProps = { increment, decrement, reset }
7171

72-
export default connect(
73-
mapStateToProps,
74-
mapDispatchToProps
75-
)(Counter)
72+
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
7673
```
7774

7875
## Help and Discussion
7976

80-
The **[#redux channel](https://discord.gg/reactiflux)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
77+
The **[#redux channel](https://discord.gg/0ZcbPKXt5bZ6au5t)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
8178

8279
You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.

‎website/versioned_docs/version-7.0/introduction/why-use-react-redux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com
8383

8484
### Community Resources
8585

86-
- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
86+
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
8787
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
8888
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
8989
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues

‎website/versioned_docs/version-7.1/introduction/quick-start.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@ import { increment, decrement, reset } from './actionCreators'
6363

6464
const mapStateToProps = (state /*, ownProps*/) => {
6565
return {
66-
counter: state.counter
66+
counter: state.counter,
6767
}
6868
}
6969

7070
const mapDispatchToProps = { increment, decrement, reset }
7171

72-
export default connect(
73-
mapStateToProps,
74-
mapDispatchToProps
75-
)(Counter)
72+
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
7673
```
7774

7875
## Help and Discussion
7976

80-
The **[#redux channel](https://discord.gg/reactiflux)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
77+
The **[#redux channel](https://discord.gg/0ZcbPKXt5bZ6au5t)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
8178

8279
You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.

‎website/versioned_docs/version-7.1/introduction/why-use-react-redux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com
8383

8484
### Community Resources
8585

86-
- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
86+
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
8787
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
8888
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
8989
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues

‎website/versioned_docs/version-7.2/introduction/quick-start.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@ import { increment, decrement, reset } from './actionCreators'
6363

6464
const mapStateToProps = (state /*, ownProps*/) => {
6565
return {
66-
counter: state.counter
66+
counter: state.counter,
6767
}
6868
}
6969

7070
const mapDispatchToProps = { increment, decrement, reset }
7171

72-
export default connect(
73-
mapStateToProps,
74-
mapDispatchToProps
75-
)(Counter)
72+
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
7673
```
7774

7875
## Help and Discussion
7976

80-
The **[#redux channel](https://discord.gg/reactiflux)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
77+
The **[#redux channel](https://discord.gg/0ZcbPKXt5bZ6au5t)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
8178

8279
You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.

‎website/versioned_docs/version-7.2/introduction/why-use-react-redux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com
8383

8484
### Community Resources
8585

86-
- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
86+
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
8787
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
8888
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
8989
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues

0 commit comments

Comments
 (0)
Please sign in to comment.