mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 07:27:46 +00:00
chore: tidy-up contributor docs
This commit is contained in:
parent
8383e33e69
commit
e5e24c0898
@ -1,11 +1,11 @@
|
||||
---
|
||||
title: useFetchClient
|
||||
slug: /hooks/use-fetch-client
|
||||
description: API reference for the useFetchClient hook in Strapi
|
||||
tags:
|
||||
- hooks
|
||||
- axios
|
||||
- data
|
||||
- helper-plugin
|
||||
---
|
||||
|
||||
## Usage
|
||||
@ -16,6 +16,17 @@ const sidebars = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
docs: [
|
||||
'index',
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Admin',
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'Link Strapi Design System',
|
||||
id: 'core/admin/link-strapi-design-system',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Core',
|
||||
@ -55,28 +66,6 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Hooks',
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'useFetchClient',
|
||||
id: 'core/hooks/use-fetch-client',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Admin',
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'Link Strapi Design System',
|
||||
id: 'core/admin/link-strapi-design-system',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Content Type Builder',
|
||||
@ -86,6 +75,34 @@ const sidebars = {
|
||||
},
|
||||
items: ['example'],
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Helper Plugin',
|
||||
items: [
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Hooks',
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'useFetchClient',
|
||||
id: 'core/helper-plugin/hooks/use-fetch-client',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Utils',
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
label: 'Async',
|
||||
id: 'core/utils/async',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user