docs: revise main docs outline (#10502)
This commit is contained in:
@@ -19,7 +19,7 @@ In this chapter, you'll add a UI route to the admin dashboard that shows the all
|
||||
|
||||
## 1. Get Brands API Route
|
||||
|
||||
In a [previous chapter](../../extend-features/query-linked-records/page.mdx), you learned how to add an API route that retrieves brands and their products using [Query](../../../advanced-development/module-links/query/page.mdx). You'll expand that API route to support pagination, so that on the admin dashboard you can show the brands in a paginated table.
|
||||
In a [previous chapter](../../extend-features/query-linked-records/page.mdx), you learned how to add an API route that retrieves brands and their products using [Query](../../../fundamentals/module-links/query/page.mdx). You'll expand that API route to support pagination, so that on the admin dashboard you can show the brands in a paginated table.
|
||||
|
||||
Replace or create the `GET` API route at `src/api/admin/brands/route.ts` with the following:
|
||||
|
||||
@@ -76,7 +76,7 @@ You return in the response the retrieved brands and the pagination configuration
|
||||
|
||||
<Note>
|
||||
|
||||
Learn more about pagination with Query in [this chapter](../../../advanced-development/module-links/query/page.mdx#apply-pagination).
|
||||
Learn more about pagination with Query in [this chapter](../../../fundamentals/module-links/query/page.mdx#apply-pagination).
|
||||
|
||||
</Note>
|
||||
|
||||
@@ -138,7 +138,7 @@ By applying the above middleware, you can pass pagination configurations to `GET
|
||||
|
||||
<Note>
|
||||
|
||||
Learn more about using the `validateAndTransformQuery` middleware to configure Query in [this chapter](../../../advanced-development/module-links/query/page.mdx#request-query-configurations).
|
||||
Learn more about using the `validateAndTransformQuery` middleware to configure Query in [this chapter](../../../fundamentals/module-links/query/page.mdx#request-query-configurations).
|
||||
|
||||
</Note>
|
||||
|
||||
@@ -186,7 +186,7 @@ You'll now add the UI route that shows the paginated list of brands. A UI route
|
||||
|
||||
<Note>
|
||||
|
||||
Learn more about UI routes in [this chapter](../../../advanced-development/admin/ui-routes/page.mdx).
|
||||
Learn more about UI routes in [this chapter](../../../fundamentals/admin/ui-routes/page.mdx).
|
||||
|
||||
</Note>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user