Skip to content

Commit

Permalink
Link directly to #redux on Reactiflux (#1673)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickserv authored Dec 23, 2020
1 parent 1f07ec1 commit 96bf941
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 61 deletions.
2 changes: 1 addition & 1 deletion docs/introduction/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ export default connect(mapStateToProps, mapDispatchToProps)(Counter)

## Help and Discussion

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!
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!

You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.
2 changes: 1 addition & 1 deletion docs/introduction/why-use-react-redux.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com

### Community Resources

- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues
Expand Down
80 changes: 51 additions & 29 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { resolve } = require('path');
const { resolve } = require('path')
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
Expand All @@ -18,17 +18,20 @@ const siteConfig = {
path: '../docs',
sidebarPath: require.resolve('./sidebars.json'),
routeBasePath: '/',
include: ['{api,introduction,using-react-redux}/*.{md,mdx}', 'troubleshooting.md'], // no other way to exclude node_modules
include: [
'{api,introduction,using-react-redux}/*.{md,mdx}',
'troubleshooting.md',
], // no other way to exclude node_modules
},
theme: {
customCss: [
require.resolve('./static/css/custom.css'),
require.resolve('./static/css/404.css'),
require.resolve('./static/css/codeblock.css')
require.resolve('./static/css/codeblock.css'),
],
},
}
]
},
],
],
title: 'React Redux', // Title for your website.
onBrokenLinks: 'throw',
Expand Down Expand Up @@ -65,7 +68,8 @@ const siteConfig = {
'/scripts/sidebarScroll.js',
'/scripts/codeblock.js',
{
src: 'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
src:
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
async: true,
},
],
Expand All @@ -85,7 +89,7 @@ const siteConfig = {
themeConfig: {
metadatas: [{ name: 'twitter:card', content: 'summary' }],
prism: {
theme: require('./static/scripts/monokaiTheme.js')
theme: require('./static/scripts/monokaiTheme.js'),
},
image: 'img/redux-logo-landscape.png',
navbar: {
Expand All @@ -100,11 +104,28 @@ const siteConfig = {
position: 'left',
// Do not add the link active class when browsing docs.
},
{ to: 'introduction/quick-start', label: 'Quick Start', position: 'right' },
{ to: 'using-react-redux/connect-mapstate', label: 'Using React Redux', position: 'right' },
{
to: 'introduction/quick-start',
label: 'Quick Start',
position: 'right',
},
{
to: 'using-react-redux/connect-mapstate',
label: 'Using React Redux',
position: 'right',
},
{ to: 'api/connect', label: 'API', position: 'right' },
{ href: 'https://www.github.com/reduxjs/react-redux', label: 'GitHub', position: 'right', className: 'github' },
{ href: '/introduction/quick-start#help-and-discussion', label: 'Need help?', position: 'right' }
{
href: 'https://www.github.com/reduxjs/react-redux',
label: 'GitHub',
position: 'right',
className: 'github',
},
{
href: '/introduction/quick-start#help-and-discussion',
label: 'Need help?',
position: 'right',
},
],
},
footer: {
Expand All @@ -113,41 +134,42 @@ const siteConfig = {
alt: 'Redux Logo',
src: 'img/redux_white.svg',
},
copyright: 'Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.',
copyright:
'Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.',
links: [
{
title: 'Docs',
items: [
{
label: 'Introduction',
to: 'introduction/quick-start'
to: 'introduction/quick-start',
},
{
label: 'Using React Redux',
to: 'using-react-redux/connect-mapstate'
to: 'using-react-redux/connect-mapstate',
},
{
label: 'API Reference',
to: 'api/connect'
to: 'api/connect',
},
{
label: 'Guides',
to: 'troubleshooting'
}
]
to: 'troubleshooting',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/react-redux'
href: 'https://stackoverflow.com/questions/tagged/react-redux',
},
{
label: 'Discord',
href: 'https://discord.gg/reactiflux',
}
]
href: 'https://discord.gg/0ZcbPKXt5bZ6au5t',
},
],
},
{
title: 'More',
Expand All @@ -169,7 +191,7 @@ const siteConfig = {
>
Star
</a>
`
`,
},
{
html: `
Expand All @@ -179,21 +201,21 @@ const siteConfig = {
alt="Deploys by Netlify"
/>
</a>
`
}
]
}
`,
},
],
},
],
},
algolia: {
apiKey: '2d058d216b7fd5d68d481fd48ee72c06',
indexName: 'react-redux',
algoliaOptions: {}
algoliaOptions: {},
},
googleAnalytics: {
trackingID: 'UA-130598673-2',
},
}
},
}

module.exports = siteConfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ As the official binding library for React and Redux, React-Redux has a large com

### Community Resources

- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React-Redux](https://stackoverflow.com/questions/tagged/redux)
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues
Expand Down
10 changes: 3 additions & 7 deletions website/versioned_docs/version-6.x/introduction/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,17 @@ import { increment, decrement, reset } from './actionCreators'

const mapStateToProps = (state /*, ownProps*/) => {
return {
counter: state.counter
counter: state.counter,
}
}

const mapDispatchToProps = { increment, decrement, reset }

export default connect(
mapStateToProps,
mapDispatchToProps
)(Counter)
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
```


## Help and Discussion

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!
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!

You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com

### Community Resources

- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,17 @@ import { increment, decrement, reset } from './actionCreators'

const mapStateToProps = (state /*, ownProps*/) => {
return {
counter: state.counter
counter: state.counter,
}
}

const mapDispatchToProps = { increment, decrement, reset }

export default connect(
mapStateToProps,
mapDispatchToProps
)(Counter)
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
```

## Help and Discussion

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!
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!

You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com

### Community Resources

- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,17 @@ import { increment, decrement, reset } from './actionCreators'

const mapStateToProps = (state /*, ownProps*/) => {
return {
counter: state.counter
counter: state.counter,
}
}

const mapDispatchToProps = { increment, decrement, reset }

export default connect(
mapStateToProps,
mapDispatchToProps
)(Counter)
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
```

## Help and Discussion

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!
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!

You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com

### Community Resources

- Discord channel: [#redux on Reactiflux](https://discord.com/channels/102860784329052160/103538784460615680) ([Reactiflux invite link](https://reactiflux.com))
- Discord channel: [#redux on Reactiflux](https://discord.gg/0ZcbPKXt5bZ6au5t) ([Reactiflux invite link](https://reactiflux.com))
- Stack Overflow topics: [Redux](https://stackoverflow.com/questions/tagged/redux), [React Redux](https://stackoverflow.com/questions/tagged/redux)
- Reddit: [/r/reactjs](https://www.reddit.com/r/reactjs/), [/r/reduxjs](https://www.reddit.com/r/reduxjs/)
- GitHub issues (bug reports and feature requests): https://github.com/reduxjs/react-redux/issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,17 @@ import { increment, decrement, reset } from './actionCreators'

const mapStateToProps = (state /*, ownProps*/) => {
return {
counter: state.counter
counter: state.counter,
}
}

const mapDispatchToProps = { increment, decrement, reset }

export default connect(
mapStateToProps,
mapDispatchToProps
)(Counter)
export default connect(mapStateToProps, mapDispatchToProps)(Counter)
```

## Help and Discussion

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!
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!

You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ As the official binding library for React and Redux, React Redux has a large com

### Community Resources

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

0 comments on commit 96bf941

Please sign in to comment.