Skip to content

Commit

Permalink
docs: guides/debugging -> getting-started/debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Jul 22, 2024
1 parent 2d9911c commit 9649602
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ Add the Redux DevTools for
or
[firefox extension](https://addons.mozilla.org/en-US/firefox/addon/reduxdevtools/)

Click the icon to open the [inspector](./guides/debugging.md), which allows you to observe dispatched actions,
Click the icon to open the [inspector](./getting-started/debugging.md), which allows you to observe dispatched actions,
their effect on the cache state as well as current cache state.

## Mock data
Expand Down
2 changes: 1 addition & 1 deletion docs/core/api/DevToolsManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ ReactDOM.createRoot(document.body).render(

## More info

Using this Manager allows in browser [debugging and store inspection](../guides/debugging).
Using this Manager allows in browser [debugging and store inspection](../getting-started/debugging.md).
4 changes: 2 additions & 2 deletions docs/core/concepts/managers.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import StackBlitz from '@site/src/components/StackBlitz';
# Managers and Middleware

Reactive Data Client uses the [flux store](https://facebookarchive.github.io/flux/docs/in-depth-overview/) pattern, which is
characterized by an easy to [understand and debug](../guides/debugging.md) the store's [undirectional data flow](<https://en.wikipedia.org/wiki/Unidirectional_Data_Flow_(computer_science)>). State updates are performed by a [reducer function](https://github.com/reactive/data-client/blob/master/packages/core/src/state/reducer/createReducer.ts#L19).
characterized by an easy to [understand and debug](../getting-started/debugging.md) the store's [undirectional data flow](<https://en.wikipedia.org/wiki/Unidirectional_Data_Flow_(computer_science)>). State updates are performed by a [reducer function](https://github.com/reactive/data-client/blob/master/packages/core/src/state/reducer/createReducer.ts#L19).

<ThemedImage
alt="Manager flux flow"
Expand All @@ -42,7 +42,7 @@ They can also be customized to change core behaviors.
| ---------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [NetworkManager](../api/NetworkManager.md) | Turns fetch dispatches into network calls |
| [SubscriptionManager](../api/SubscriptionManager.md) | Handles polling [subscriptions](../getting-started/data-dependency.md#subscriptions) |
| [DevToolsManager](../api/DevToolsManager.md) | Enables [debugging](../guides/debugging.md) |
| [DevToolsManager](../api/DevToolsManager.md) | Enables [debugging](../getting-started/debugging.md) |
| Extra managers |
| [LogoutManager](../api/LogoutManager.md) | Handles HTTP `401` (or other logout conditions) |

Expand Down
4 changes: 2 additions & 2 deletions docs/core/concepts/normalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,13 @@ per update.
## Store Inspection (debugging)

[DevTools browser extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en)
can be installed to inspect and [debug the store](../guides/debugging.md).
can be installed to inspect and [debug the store](../getting-started/debugging.md).

![browser-devtools](/img/devtool-state.png 'Reactive Data Client devtools')

<center>

<Link className="button button--secondary" to="../guides/debugging">Data Client Debugging Guide »</Link>
<Link className="button button--secondary" to="../getting-started/debugging">Data Client Debugging Guide »</Link>

</center>

Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ const config: Config = {
to: '/docs/api/ExternalDataProvider',
from: ['/docs/api/ExternalCacheProvider'],
},
{
to: '/docs/getting-started/debugging',
from: ['/docs/guides/debugging'],
},
...gqlRedirects,
],
},
Expand Down
2 changes: 1 addition & 1 deletion website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
{
"type": "doc",
"id": "guides/debugging"
"id": "getting-started/debugging"
}
]
},
Expand Down

0 comments on commit 9649602

Please sign in to comment.