Skip to content

Commit

Permalink
Merge pull request #655 from reduxjs/docs/netlify-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Dec 2, 2023
2 parents 810d634 + 8c066f7 commit b7a1015
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 9 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
reselect.js.org
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
base = "website"
publish = "website/build"
publish = "build"
command = "yarn build"
ignore = "git diff --quiet HEAD^ HEAD -- ./docs/ ."

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"lodash.memoize": "^4.1.2",
"memoize-one": "^6.0.0",
"micro-memoize": "^4.0.9",
"netlify-plugin-cache": "^1.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@docusaurus/module-type-aliases": "3.0.0",
"@docusaurus/tsconfig": "3.0.0",
"@docusaurus/types": "3.0.0",
"netlify-plugin-cache": "^1.0.3",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
Expand Down
11 changes: 4 additions & 7 deletions website/src/components/InternalLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const InternalLinks = {
),
OutputSelectorFields: ({ text = 'Output Selector Fields' }) => (
<Link
to="/debugging-tools/output-selector-fields"
to="/api/createSelector#output-selector-fields"
title="Output Selector Fields"
>
{text}
Expand All @@ -72,20 +72,17 @@ export const InternalLinks = {
</Link>
),
LruMemoize: () => (
<Link to="/api/memoization-functions/lruMemoize" title="lruMemoize">
<Link to="/api/lruMemoize" title="lruMemoize">
<code>lruMemoize</code>
</Link>
),
WeakMapMemoize: () => (
<Link to="/api/memoization-functions/weakMapMemoize" title="weakMapMemoize">
<Link to="/api/weakMapMemoize" title="weakMapMemoize">
<code>weakMapMemoize</code>
</Link>
),
UnstableAutotrackMemoize: () => (
<Link
to="/api/memoization-functions/unstable_autotrackMemoize"
title="unstable_autotrackMemoize"
>
<Link to="/api/unstable_autotrackMemoize" title="unstable_autotrackMemoize">
<code>unstable_autotrackMemoize</code>
</Link>
),
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Home: FC = () => {
const { siteConfig } = useDocusaurusContext()
return (
<Layout
title={`Hello from ${siteConfig.title}`}
title={`${siteConfig.title}: ${siteConfig.tagline}`}
description="Description will go into a meta tag in <head />"
>
<HomepageHeader />
Expand Down
8 changes: 8 additions & 0 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8569,6 +8569,13 @@ __metadata:
languageName: node
linkType: hard

"netlify-plugin-cache@npm:^1.0.3":
version: 1.0.3
resolution: "netlify-plugin-cache@npm:1.0.3"
checksum: 967b9b7855711843ec1412a58be703850e46582e1df3e0edf086b5bcc3ac9b358a307eefed4520eafaeeec9011ecd4bf9b2919261454ece4699754653645891e
languageName: node
linkType: hard

"no-case@npm:^3.0.4":
version: 3.0.4
resolution: "no-case@npm:3.0.4"
Expand Down Expand Up @@ -11950,6 +11957,7 @@ __metadata:
"@docusaurus/types": 3.0.0
"@mdx-js/react": ^3.0.0
clsx: ^1.2.1
netlify-plugin-cache: ^1.0.3
prettier: ^3.1.0
prism-react-renderer: ^2.1.0
react: ^18.2.0
Expand Down
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3553,6 +3553,13 @@ __metadata:
languageName: node
linkType: hard

"netlify-plugin-cache@npm:^1.0.3":
version: 1.0.3
resolution: "netlify-plugin-cache@npm:1.0.3"
checksum: 967b9b7855711843ec1412a58be703850e46582e1df3e0edf086b5bcc3ac9b358a307eefed4520eafaeeec9011ecd4bf9b2919261454ece4699754653645891e
languageName: node
linkType: hard

"node-gyp@npm:latest":
version: 10.0.1
resolution: "node-gyp@npm:10.0.1"
Expand Down Expand Up @@ -4190,6 +4197,7 @@ __metadata:
lodash.memoize: ^4.1.2
memoize-one: ^6.0.0
micro-memoize: ^4.0.9
netlify-plugin-cache: ^1.0.3
prettier: ^2.7.1
react: ^18.2.0
react-dom: ^18.2.0
Expand Down

0 comments on commit b7a1015

Please sign in to comment.