chore: tidy-up contributor docs

This commit is contained in:
Josh 2023-02-03 17:12:20 +00:00
parent 8383e33e69
commit e5e24c0898
2 changed files with 40 additions and 23 deletions

View File

@ -1,11 +1,11 @@
--- ---
title: useFetchClient title: useFetchClient
slug: /hooks/use-fetch-client
description: API reference for the useFetchClient hook in Strapi description: API reference for the useFetchClient hook in Strapi
tags: tags:
- hooks - hooks
- axios - axios
- data - data
- helper-plugin
--- ---
## Usage ## Usage

View File

@ -16,6 +16,17 @@ const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure // By default, Docusaurus generates a sidebar from the docs folder structure
docs: [ docs: [
'index', 'index',
{
type: 'category',
label: 'Admin',
items: [
{
type: 'doc',
label: 'Link Strapi Design System',
id: 'core/admin/link-strapi-design-system',
},
],
},
{ {
type: 'category', type: 'category',
label: 'Core', 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', type: 'category',
label: 'Content Type Builder', label: 'Content Type Builder',
@ -86,6 +75,34 @@ const sidebars = {
}, },
items: ['example'], 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',
},
],
},
], ],
}, },
{ {