From f0942a015027ae8eb4ad7ba5c8bcf539b0070a6e Mon Sep 17 00:00:00 2001 From: artalar Date: Sun, 16 Jul 2023 21:08:04 +0300 Subject: [PATCH] docs: fix links paths after the site update --- README.md | 4 ++-- docs/src/content/docs/core.md | 2 +- docs/src/content/docs/guides/naming.md | 2 +- docs/src/content/docs/index.md | 4 ++-- docs/src/content/docs/package/async.md | 2 +- packages/async/README.md | 2 +- packages/core-v1/package.json | 2 +- packages/core-v2/package.json | 2 +- packages/core/README.md | 2 +- packages/npm-cookie-baker/package.json | 2 +- packages/npm-history/package.json | 2 +- packages/npm-react/package.json | 2 +- packages/npm-svelte/package.json | 2 +- packages/react-v1/package.json | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d6303bed0..f118b20db 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ document.getElementById('save')!.addEventListener('click', () => { Check out [@reatom/core docs](https://www.reatom.dev/core) for detailed explanation of key principles and features. -Do you use React.js? Check out [npm-react](https://www.reatom.dev/packages/npm-react) package! +Do you use React.js? Check out [npm-react](https://www.reatom.dev/adapter/npm-react) package! ## Advanced example @@ -188,7 +188,7 @@ To get maximum of Reatom and the ecosystem just go to [tutorial](https://www.rea - Finish [forms package](https://github.com/artalar/reatom/tree/v3/packages/form) - Finish [persist](https://github.com/artalar/reatom/tree/v3/packages/persist) and [navigation](https://github.com/artalar/reatom/tree/v3/packages/navigation) packages -- Add adapters for most popular ui frameworks: ~~[react](https://www.reatom.dev/packages/npm-react)~~, angular, vue, ~~[svelte](https://www.reatom.dev/packages/npm-svelte)~~, solid. +- Add adapters for most popular ui frameworks: ~~[react](https://www.reatom.dev/adapter/npm-react)~~, angular, vue, ~~[svelte](https://www.reatom.dev/adapter/npm-svelte)~~, solid. - Port some components logic from reakit.io, to made it fast, light and portable. - Add ability to made async transaction and elaborate optimistic-ui patterns and helpers / package. - Try to write own jsx renderer. diff --git a/docs/src/content/docs/core.md b/docs/src/content/docs/core.md index 3ea88e111..32daca838 100644 --- a/docs/src/content/docs/core.md +++ b/docs/src/content/docs/core.md @@ -122,7 +122,7 @@ document.getElementById('search-input').addEventListener('input', (event) => { }) ``` -> Do you want to see next [the docs for React adapter](https://reatom.dev/packages/npm-react)? +> Do you want to see next [the docs for React adapter](https://reatom.dev/adapter/npm-react)? ### Action handling (advanced) diff --git a/docs/src/content/docs/guides/naming.md b/docs/src/content/docs/guides/naming.md index 1de01a876..24b6a446d 100644 --- a/docs/src/content/docs/guides/naming.md +++ b/docs/src/content/docs/guides/naming.md @@ -5,7 +5,7 @@ description: Main advices for things naming ### Packages -We want to grow a huge ecosystem of packages, which will be useful for everyone. So, it's crucial to have naming convention for packages, especially when different platforms could have packages with the same name. For this reason we use prefixes for adapter packages related to a specific scope. For example [`npm-history`](https://www.reatom.dev/packages/npm-history) for [history package](https://www.npmjs.com/package/history) adapter, `web-history` for potential [History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) wrapper, and `node-http` for potential [Node HTTP](https://nodejs.org/docs/latest-v18.x/api/http.html) adapter. +We want to grow a huge ecosystem of packages, which will be useful for everyone. So, it's crucial to have naming convention for packages, especially when different platforms could have packages with the same name. For this reason we use prefixes for adapter packages related to a specific scope. For example [`npm-history`](https://www.reatom.dev/adapter/npm-history) for [history package](https://www.npmjs.com/package/history) adapter, `web-history` for potential [History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) wrapper, and `node-http` for potential [Node HTTP](https://nodejs.org/docs/latest-v18.x/api/http.html) adapter. ### Fabric and model diff --git a/docs/src/content/docs/index.md b/docs/src/content/docs/index.md index fcb23d614..d0ad5b05a 100644 --- a/docs/src/content/docs/index.md +++ b/docs/src/content/docs/index.md @@ -101,7 +101,7 @@ document.getElementById('save')!.addEventListener('click', () => { Check out [@reatom/core docs](/core) for detailed explanation of key principles and features. -Do you use React.js? Check out [npm-react](/packages/npm-react) package! +Do you use React.js? Check out [npm-react](/adapter/npm-react) package! ## Advanced example @@ -193,7 +193,7 @@ To get maximum of Reatom and the ecosystem just go to [tutorial](/tutorial). If - Finish [forms package](https://github.com/artalar/reatom/tree/v3/packages/form) - Finish [persist](https://github.com/artalar/reatom/tree/v3/packages/persist) and [navigation](https://github.com/artalar/reatom/tree/v3/packages/navigation) packages -- Add adapters for most popular ui frameworks: ~~[react](/packages/npm-react)~~, angular, vue, ~~[svelte](/packages/npm-svelte)~~, solid. +- Add adapters for most popular ui frameworks: ~~[react](/adapter/npm-react)~~, angular, vue, ~~[svelte](/adapter/npm-svelte)~~, solid. - Port some components logic from reakit.io, to made it fast, light and portable. - Add ability to made async transaction and elaborate optimistic-ui patterns and helpers / package. - Try to write own jsx renderer. diff --git a/docs/src/content/docs/package/async.md b/docs/src/content/docs/package/async.md index 24a600526..b470e156d 100644 --- a/docs/src/content/docs/package/async.md +++ b/docs/src/content/docs/package/async.md @@ -213,7 +213,7 @@ export const fetchList = reatomAsync( onConnect(fetchList.dataAtom, fetchList) ``` -What this code do? When you connect to `fetchList.dataAtom` it will automatically call `fetchList` action. Connection could appear in any place of your application, by `ctx.subscribe(fetchList.dataAtom, cb)` or by using `useAtom(fetchList.dataAtom)` hook from [@reatom/npm-react](/packages/npm-react). Even by a different atom. +What this code do? When you connect to `fetchList.dataAtom` it will automatically call `fetchList` action. Connection could appear in any place of your application, by `ctx.subscribe(fetchList.dataAtom, cb)` or by using `useAtom(fetchList.dataAtom)` hook from [@reatom/npm-react](/adapter/npm-react). Even by a different atom. ```ts export const filteredListAtom = atom( diff --git a/packages/async/README.md b/packages/async/README.md index 6a66603c8..079e35b28 100644 --- a/packages/async/README.md +++ b/packages/async/README.md @@ -208,7 +208,7 @@ export const fetchList = reatomAsync( onConnect(fetchList.dataAtom, fetchList) ``` -What this code do? When you connect to `fetchList.dataAtom` it will automatically call `fetchList` action. Connection could appear in any place of your application, by `ctx.subscribe(fetchList.dataAtom, cb)` or by using `useAtom(fetchList.dataAtom)` hook from [@reatom/npm-react](https://www.reatom.dev/packages/npm-react). Even by a different atom. +What this code do? When you connect to `fetchList.dataAtom` it will automatically call `fetchList` action. Connection could appear in any place of your application, by `ctx.subscribe(fetchList.dataAtom, cb)` or by using `useAtom(fetchList.dataAtom)` hook from [@reatom/npm-react](https://www.reatom.dev/adapter/npm-react). Even by a different atom. ```ts export const filteredListAtom = atom( diff --git a/packages/core-v1/package.json b/packages/core-v1/package.json index 653f4e465..24ed60d83 100644 --- a/packages/core-v1/package.json +++ b/packages/core-v1/package.json @@ -38,7 +38,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://www.reatom.dev/packages/core-v1", + "homepage": "https://www.reatom.dev/adapter/core-v1", "files": [ "/build", "/package.json" diff --git a/packages/core-v2/package.json b/packages/core-v2/package.json index 4ac2b4b10..97abffe61 100644 --- a/packages/core-v2/package.json +++ b/packages/core-v2/package.json @@ -33,7 +33,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://www.reatom.dev/packages/core-v2", + "homepage": "https://www.reatom.dev/adapter/core-v2", "files": [ "/build", "/package.json", diff --git a/packages/core/README.md b/packages/core/README.md index 2b2485ac3..0d197a286 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -117,7 +117,7 @@ document.getElementById('search-input').addEventListener('input', (event) => { }) ``` -> Do you want to see next [the docs for React adapter](https://reatom.dev/packages/npm-react)? +> Do you want to see next [the docs for React adapter](https://reatom.dev/adapter/npm-react)? ### Action handling (advanced) diff --git a/packages/npm-cookie-baker/package.json b/packages/npm-cookie-baker/package.json index 9f943f963..68bed1f29 100644 --- a/packages/npm-cookie-baker/package.json +++ b/packages/npm-cookie-baker/package.json @@ -47,7 +47,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://www.reatom.dev/packages/npm-cookie-baker", + "homepage": "https://www.reatom.dev/adapter/npm-cookie-baker", "files": [ "/build", "/package.json" diff --git a/packages/npm-history/package.json b/packages/npm-history/package.json index bfbd8f6fe..a06b3af17 100644 --- a/packages/npm-history/package.json +++ b/packages/npm-history/package.json @@ -46,7 +46,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://github.com/artalar/reatom/packages/npm-history", + "homepage": "https://github.com/artalar/reatom/adapter/npm-history", "files": [ "/build", "/package.json" diff --git a/packages/npm-react/package.json b/packages/npm-react/package.json index 72f59c7f5..021069d6b 100644 --- a/packages/npm-react/package.json +++ b/packages/npm-react/package.json @@ -42,7 +42,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://www.reatom.dev/packages/npm-react", + "homepage": "https://www.reatom.dev/adapter/npm-react", "files": [ "/build", "/package.json" diff --git a/packages/npm-svelte/package.json b/packages/npm-svelte/package.json index 5ea3dacde..c9331c9c5 100644 --- a/packages/npm-svelte/package.json +++ b/packages/npm-svelte/package.json @@ -42,7 +42,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://github.com/artalar/reatom/packages/npm-svelte", + "homepage": "https://github.com/artalar/reatom/adapter/npm-svelte", "files": [ "/build", "/package.json" diff --git a/packages/react-v1/package.json b/packages/react-v1/package.json index 3464ae32e..aee447593 100644 --- a/packages/react-v1/package.json +++ b/packages/react-v1/package.json @@ -39,7 +39,7 @@ "bugs": { "url": "https://github.com/artalar/reatom/issues" }, - "homepage": "https://www.reatom.dev/packages/react-v1", + "homepage": "https://www.reatom.dev/adapter/react-v1", "files": [ "/build", "/package.json"