Skip to content

Commit

Permalink
Migrate website to Docusaurus 2 (reduxjs#3635)
Browse files Browse the repository at this point in the history
* Migrate website to Docusaurus 2

* Tweak styling to better match original site

- Shrank padding and border radius for code snippets
- Made category chevrons closed=right and open=down
- Added transition for category chevrons
- Forced links in code snippets to inherit link color

* Restructure index page sales pitch content based on RTK layout

Co-authored-by: Mark Erikson <[email protected]>

Former-commit-id: c725f09
Former-commit-id: c6e8b6a
  • Loading branch information
BSKY authored and markerikson committed Dec 20, 2019
1 parent 3b6e705 commit 04a34db
Show file tree
Hide file tree
Showing 165 changed files with 200 additions and 226 deletions.
2 changes: 1 addition & 1 deletion README.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5ea9b3d7a6229ef1675254c3eaf01de06935e5c3
2ae3fd613f7e6550ad11770540c7d75c92bf46d5
1 change: 0 additions & 1 deletion docs/FAQ.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/Glossary.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/Troubleshooting.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/advanced/AsyncActions.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/advanced/AsyncFlow.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/advanced/ExampleRedditAPI.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/advanced/Middleware.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/advanced/NextSteps.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/advanced/UsageWithReactRouter.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/README.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/Store.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/applyMiddleware.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/bindActionCreators.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/combineReducers.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/compose.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/api/createStore.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/basics/Actions.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/basics/DataFlow.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/basics/ExampleTodoList.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/basics/Reducers.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/basics/Store.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/basics/UsageWithReact.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/Actions.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/CodeStructure.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/DesignDecisions.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/General.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/ImmutableData.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/Miscellaneous.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/OrganizingState.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/Performance.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/ReactRedux.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/Reducers.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/faq/StoreSetup.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/CoreConcepts.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/Ecosystem.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/Examples.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/GettingStarted.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/Installation.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/LearningResources.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/Motivation.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/PriorArt.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/introduction/ThreePrinciples.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/CodeSplitting.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/ComputingDerivedData.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/ConfiguringYourStore.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/ImplementingUndoHistory.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/IsolatingSubapps.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/MigratingToRedux.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/ReducingBoilerplate.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/ServerRendering.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/UsageWithTypescript.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/UsingImmutableJS.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/UsingObjectSpreadOperator.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/recipes/WritingTests.md.REMOVED.git-id

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion docs/redux-toolkit/overview.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion docs/style-guide/style-guide.md.REMOVED.git-id

This file was deleted.

4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
base = "website"
publish = "website/build"
command = "npm run build"
20 changes: 20 additions & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# dependencies
/node_modules

# production
/build

# generated files
.docusaurus
.cache-loader

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
33 changes: 33 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Website

This website is built using Docusaurus 2, a modern static website generator.

### Installation

```
$ yarn
```

### Local Development

```
$ yarn start
```

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Deployment

```
$ GIT_USER=<Your GitHub username> USE_SSH=1 yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
1 change: 0 additions & 1 deletion website/README.md.REMOVED.git-id

This file was deleted.

1 change: 0 additions & 1 deletion website/core/Footer.js.REMOVED.git-id

This file was deleted.

1 change: 1 addition & 0 deletions website/docs/FAQ.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2c237543e74c8986de673086e73886d7dc7fb3ba
1 change: 1 addition & 0 deletions website/docs/Glossary.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
03ded27dcc11b81fbfb89a4758ba1f280a416959
1 change: 1 addition & 0 deletions website/docs/Troubleshooting.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4b0253f59152de0791780dd4b077307c9f0a55b7
1 change: 1 addition & 0 deletions website/docs/advanced/AsyncActions.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
67b73fc15b6d037460b5dcf0570be63fc3d4c850
1 change: 1 addition & 0 deletions website/docs/advanced/AsyncFlow.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4431b325718c8b16870fffd2afc94de9660878f9
1 change: 1 addition & 0 deletions website/docs/advanced/ExampleRedditAPI.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5f0eab8e7327a31c158e664db5677b145464c3aa
1 change: 1 addition & 0 deletions website/docs/advanced/Middleware.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d88a0d374ff515704e6262ddf3f569d2aed7ae35
1 change: 1 addition & 0 deletions website/docs/advanced/NextSteps.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e6b23caea3a0e4fb51e5d9a942d5e70c83dda581
3 changes: 1 addition & 2 deletions docs/advanced/README.md → website/docs/advanced/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
id: advanced-tutorial
title: Advanced Tutorial: Intro
sidebar_label: Advanced Tutorial: Intro
title: 'Advanced Tutorial: Intro'
hide_title: true
---

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
481bc24e2fa8b48931531f1f36b4d41506a77bf5
1 change: 1 addition & 0 deletions website/docs/api/README.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6fb8ba342616bd0813ff398b076ad9a97c948e94
1 change: 1 addition & 0 deletions website/docs/api/Store.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c9c9e3c89951aca829cbebbac7054eff2ba7534e
1 change: 1 addition & 0 deletions website/docs/api/applyMiddleware.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8d581eef07d5a1e0b1db414aec1355ffb13ce92d
1 change: 1 addition & 0 deletions website/docs/api/bindActionCreators.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ddf04ac2efa5f3b11346ad2af09ef0345a72088d
1 change: 1 addition & 0 deletions website/docs/api/combineReducers.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e284dca79c60bbbcf0bf0529b2a91a1e471300c1
1 change: 1 addition & 0 deletions website/docs/api/compose.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
67a6728cc9a71046e37a582ee3252012635726db
1 change: 1 addition & 0 deletions website/docs/api/createStore.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5056ca0d5a84c631b15a580ea70817945b871094
1 change: 1 addition & 0 deletions website/docs/basics/Actions.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c3ba07a8f156c6c4ed60548bcf95329c4cb207d3
1 change: 1 addition & 0 deletions website/docs/basics/DataFlow.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4a1e6c1bf0c19d593187729cf858f97734bf83ce
1 change: 1 addition & 0 deletions website/docs/basics/ExampleTodoList.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
affa53292fd3f07e537e15587c208cb89fe7f012
3 changes: 1 addition & 2 deletions docs/basics/README.md → website/docs/basics/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
id: basic-tutorial
title: Basic Tutorial: Intro
sidebar_label: Basic Tutorial: Intro
title: 'Basic Tutorial: Intro'
hide_title: true
---

Expand Down
1 change: 1 addition & 0 deletions website/docs/basics/Reducers.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
73ffbe29c01bba2b18e8b9c11b84a3818aed602b
1 change: 1 addition & 0 deletions website/docs/basics/Store.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ccd183f3e6d8e62a1a816935a6d864353ff50815
1 change: 1 addition & 0 deletions website/docs/basics/UsageWithReact.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
033781941c0bd7e76b9ba1f2128d90e32b7c9e91
1 change: 1 addition & 0 deletions website/docs/faq/Actions.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8b7e3f5383ee6f75ceb0b38eba7edce6a141239a
1 change: 1 addition & 0 deletions website/docs/faq/CodeStructure.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7cc2b0317eca8389421e802d723ef31cfec1ef11
1 change: 1 addition & 0 deletions website/docs/faq/DesignDecisions.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e533b87a4c008c022546b82687892e3c1df110fd
1 change: 1 addition & 0 deletions website/docs/faq/General.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6ee398419b8848ad1c8f132c9377e48385332489
1 change: 1 addition & 0 deletions website/docs/faq/ImmutableData.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
71a09935342dbe5832630bb1fd13a69260359e67
1 change: 1 addition & 0 deletions website/docs/faq/Miscellaneous.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
43c726825cee93e05ee2a14679cee5d4adfd4257
1 change: 1 addition & 0 deletions website/docs/faq/OrganizingState.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2691e61b1e569275bf94c3ac02e6eadedad3564b
1 change: 1 addition & 0 deletions website/docs/faq/Performance.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1368dcb540f30231e874af4116eacf09ae43cff0
1 change: 1 addition & 0 deletions website/docs/faq/ReactRedux.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ee79002d71e2c3a5ea96af16aab8ade3a8560711
1 change: 1 addition & 0 deletions website/docs/faq/Reducers.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a08f10aa6e5d289cbf1c180db615f89e2a62200f
1 change: 1 addition & 0 deletions website/docs/faq/StoreSetup.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4cd1b8827eba48065f11c4eabf7600ec9231155e
1 change: 1 addition & 0 deletions website/docs/introduction/CoreConcepts.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
965923118eb0054c7316129984a32a108fe372f9
1 change: 1 addition & 0 deletions website/docs/introduction/Ecosystem.md.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d1f00ae7efccbd755c05333fe5603f414b3a046d
Loading

0 comments on commit 04a34db

Please sign in to comment.