Skip to content

Commit b7a1015

Browse files
authored
Merge pull request #655 from reduxjs/docs/netlify-integration
2 parents 810d634 + 8c066f7 commit b7a1015

File tree

8 files changed

+25
-9
lines changed

8 files changed

+25
-9
lines changed

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
reselect.js.org

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build]
22
base = "website"
3-
publish = "website/build"
3+
publish = "build"
44
command = "yarn build"
55
ignore = "git diff --quiet HEAD^ HEAD -- ./docs/ ."
66

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"lodash.memoize": "^4.1.2",
7474
"memoize-one": "^6.0.0",
7575
"micro-memoize": "^4.0.9",
76+
"netlify-plugin-cache": "^1.0.3",
7677
"prettier": "^2.7.1",
7778
"react": "^18.2.0",
7879
"react-dom": "^18.2.0",

website/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@docusaurus/module-type-aliases": "3.0.0",
3131
"@docusaurus/tsconfig": "3.0.0",
3232
"@docusaurus/types": "3.0.0",
33+
"netlify-plugin-cache": "^1.0.3",
3334
"prettier": "^3.1.0",
3435
"rimraf": "^5.0.5",
3536
"ts-node": "^10.9.1",

website/src/components/InternalLinks.tsx

+4-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const InternalLinks = {
5555
),
5656
OutputSelectorFields: ({ text = 'Output Selector Fields' }) => (
5757
<Link
58-
to="/debugging-tools/output-selector-fields"
58+
to="/api/createSelector#output-selector-fields"
5959
title="Output Selector Fields"
6060
>
6161
{text}
@@ -72,20 +72,17 @@ export const InternalLinks = {
7272
</Link>
7373
),
7474
LruMemoize: () => (
75-
<Link to="/api/memoization-functions/lruMemoize" title="lruMemoize">
75+
<Link to="/api/lruMemoize" title="lruMemoize">
7676
<code>lruMemoize</code>
7777
</Link>
7878
),
7979
WeakMapMemoize: () => (
80-
<Link to="/api/memoization-functions/weakMapMemoize" title="weakMapMemoize">
80+
<Link to="/api/weakMapMemoize" title="weakMapMemoize">
8181
<code>weakMapMemoize</code>
8282
</Link>
8383
),
8484
UnstableAutotrackMemoize: () => (
85-
<Link
86-
to="/api/memoization-functions/unstable_autotrackMemoize"
87-
title="unstable_autotrackMemoize"
88-
>
85+
<Link to="/api/unstable_autotrackMemoize" title="unstable_autotrackMemoize">
8986
<code>unstable_autotrackMemoize</code>
9087
</Link>
9188
),

website/src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Home: FC = () => {
3333
const { siteConfig } = useDocusaurusContext()
3434
return (
3535
<Layout
36-
title={`Hello from ${siteConfig.title}`}
36+
title={`${siteConfig.title}: ${siteConfig.tagline}`}
3737
description="Description will go into a meta tag in <head />"
3838
>
3939
<HomepageHeader />

website/yarn.lock

+8
Original file line numberDiff line numberDiff line change
@@ -8569,6 +8569,13 @@ __metadata:
85698569
languageName: node
85708570
linkType: hard
85718571

8572+
"netlify-plugin-cache@npm:^1.0.3":
8573+
version: 1.0.3
8574+
resolution: "netlify-plugin-cache@npm:1.0.3"
8575+
checksum: 967b9b7855711843ec1412a58be703850e46582e1df3e0edf086b5bcc3ac9b358a307eefed4520eafaeeec9011ecd4bf9b2919261454ece4699754653645891e
8576+
languageName: node
8577+
linkType: hard
8578+
85728579
"no-case@npm:^3.0.4":
85738580
version: 3.0.4
85748581
resolution: "no-case@npm:3.0.4"
@@ -11950,6 +11957,7 @@ __metadata:
1195011957
"@docusaurus/types": 3.0.0
1195111958
"@mdx-js/react": ^3.0.0
1195211959
clsx: ^1.2.1
11960+
netlify-plugin-cache: ^1.0.3
1195311961
prettier: ^3.1.0
1195411962
prism-react-renderer: ^2.1.0
1195511963
react: ^18.2.0

yarn.lock

+8
Original file line numberDiff line numberDiff line change
@@ -3553,6 +3553,13 @@ __metadata:
35533553
languageName: node
35543554
linkType: hard
35553555

3556+
"netlify-plugin-cache@npm:^1.0.3":
3557+
version: 1.0.3
3558+
resolution: "netlify-plugin-cache@npm:1.0.3"
3559+
checksum: 967b9b7855711843ec1412a58be703850e46582e1df3e0edf086b5bcc3ac9b358a307eefed4520eafaeeec9011ecd4bf9b2919261454ece4699754653645891e
3560+
languageName: node
3561+
linkType: hard
3562+
35563563
"node-gyp@npm:latest":
35573564
version: 10.0.1
35583565
resolution: "node-gyp@npm:10.0.1"
@@ -4190,6 +4197,7 @@ __metadata:
41904197
lodash.memoize: ^4.1.2
41914198
memoize-one: ^6.0.0
41924199
micro-memoize: ^4.0.9
4200+
netlify-plugin-cache: ^1.0.3
41934201
prettier: ^2.7.1
41944202
react: ^18.2.0
41954203
react-dom: ^18.2.0

0 commit comments

Comments
 (0)