diff --git a/docs/next/guides/authentication.mdx b/docs/next/guides/authentication.mdx
index 84186d846..071cd2ee4 100644
--- a/docs/next/guides/authentication.mdx
+++ b/docs/next/guides/authentication.mdx
@@ -44,7 +44,7 @@ Redirect based authentication is the default strategy in Faust.js. This strategy
This strategy is great for use cases where your authenticated users are admins/editors/etc. and do not necessarily need a "white label" login/register experience. Typically, you would use the redirect strategy if your primary reason for authentication is previews.
-Since Redirect based authentication is the default authentication method, there is no configuration needed on your end to use it. It comes out of the box, and you'll see it in action when using previews or the [`useAuth`](/docs/next/reference/custom-hooks#useauth) hook.
+Since Redirect based authentication is the default authentication method, there is no configuration needed on your end to use it. It comes out of the box, and you'll see it in action when using previews or the [`useAuth`](/docs/next/reference/hooks/useAuth) hook.
### Local Based Authentication
@@ -149,7 +149,7 @@ The `useLogin` hook exports an object with the following properties:
- `data`: the response data from the login request.
- `error`: the error from the login request.
-For a more detailed explanation of the `useLogin` hook, see the [`useLogin` hook docs](/docs/next/reference/custom-hooks#uselogin) .
+For a more detailed explanation of the `useLogin` hook, see the [`useLogin` hook docs](/docs/next/reference/hooks/useLogin) .
Upon a successful login, a refresh token will be stored in a secure, http only cookie, as well as the access token in memory to use for subsequent authenticated requests. A login request can be confirmed it succeeded by checking for the `code` property in the `data` object.
@@ -241,4 +241,4 @@ export default function Page() {
}
```
-**Note:** The [`useAuth`](/docs/next/reference/custom-hooks#useauth) hook fetches the applicable tokens and ensures that the user is authenticated. Therefore, you should check for `isAuthenticated` prior to making authenticated requests, as doing so too early will result in a request without a valid access token.
+**Note:** The [`useAuth`](/docs/next/reference/hooks/useAuth) hook fetches the applicable tokens and ensures that the user is authenticated. Therefore, you should check for `isAuthenticated` prior to making authenticated requests, as doing so too early will result in a request without a valid access token.
diff --git a/docs/next/reference/custom-hooks.mdx b/docs/next/reference/custom-hooks.mdx
deleted file mode 100644
index 96e705328..000000000
--- a/docs/next/reference/custom-hooks.mdx
+++ /dev/null
@@ -1,432 +0,0 @@
----
-slug: /next/reference/custom-hooks
-title: Useful Hooks For Data Fetching With Faust.js
-description: Faust.js makes fetching data from Headless WordPress incredibly easy with special hooks.
----
-
-When you use `getClient` from Faust.js to generate a GQty client, you will get some additional hooks that you can use to make your client more useful and make fetching data from Headless WordPress easier. The following hooks are available on the `client` object generated by `getClient`.
-
-### `usePost`
-
-The `usePost` hook provides the standard interface for getting a post from your Headless WordPress API. It also allows you to pass-in no arguments. When you do not pass arguments into `usePost` it will attempt to look at the URL params in order to determine how to get a post from your Headless WordPress API. In Next.js this means you will need to name your post page file in a particular way in order to get the proper URL params. Below are the possible names that will work automatically with Faust.js:
-
-- `[postId].tsx`
-- `[postSlug].tsx`
-- `[...postUri].tsx`
-
-Using the above names, Faust.js is able to apply the following logic to determine how to get a post from your Headless WordPress API:
-
-1. If `postId` is found in the URL params, Faust.js makes a request to retrieve a `post` from WordPress by `ID`
-1. If `postSlug` is found in the URL params, Faust.js makes a request to retrieve a `post` from WordPress by `SLUG`
-1. If `postUri` is found in the URL params, Faust.js makes a request to retrieve a `post` from WordPress by `URI`
-
-The following is an example of how to use the `usePost` hook with a `postSlug`:
-
-```tsx title=/src/pages/posts/[postSlug].tsx {5,6}
-import { getNextStaticProps } from '@faustjs/next';
-import { client } from 'client';
-
-export default function Page() {
- const { usePost } = client;
- const post = usePost();
-
- return (
- {post?.title()}
-
- {post?.title()}
-
-
loading...
; - } - - if (result.type === 'page') { - if (!result.page) { - return <>Not Found>; - } - - returnloading...
; + } + + if (result.type === 'page') { + if (!result.page) { + return <>Not Found>; + } + + return