Group CLI docs by service for better accessibility (#2890)

This commit makes the CLI docs more accessible by grouping them by service

---

#### Does this PR need a docs update or release note?

- [x]  Yes, it's included

#### Type of change

- [x] 🗺️ Documentation
This commit is contained in:
Niraj Tolia 2023-03-21 00:56:25 -07:00 committed by GitHub
parent 5e36ae5789
commit 18843ac1e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,16 +27,64 @@ const sidebars = {
label: 'Command line reference', label: 'Command line reference',
link: { link: {
slug: 'cli/corso', slug: 'cli/corso',
description: 'Explore the commonly used Corso CLI commands', description: 'Explore the commonly-used Corso CLI commands',
type: 'generated-index', type: 'generated-index',
}, },
items: [ items: [
'cli/corso-repo-init-s3', 'cli/corso-repo-connect-s3', {
'cli/corso-backup-create-exchange', 'cli/corso-backup-list-exchange', 'cli/corso-backup-details-exchange', 'cli/corso-backup-delete-exchange', type: 'category',
'cli/corso-backup-create-onedrive', 'cli/corso-backup-list-onedrive', 'cli/corso-backup-details-onedrive', 'cli/corso-backup-delete-onedrive', label: 'Setup',
'cli/corso-backup-create-sharepoint', 'cli/corso-backup-list-sharepoint', 'cli/corso-backup-details-sharepoint', 'cli/corso-backup-delete-sharepoint', link: {
'cli/corso-restore-exchange', 'cli/corso-restore-onedrive', 'cli/corso-restore-sharepoint', slug: 'cli/setup',
'cli/corso-env' description: 'Documentation for commonly-used Corso setup CLI commands',
},
items: [
'cli/corso-repo-init-s3',
'cli/corso-repo-connect-s3',
'cli/corso-env']
},
{
type: 'category',
label: 'Exchange',
link: {
slug: 'cli/exchange',
description: 'Documentation for commonly-used Corso Exchange CLI commands',
},
items: [
'cli/corso-backup-create-exchange',
'cli/corso-backup-list-exchange',
'cli/corso-backup-details-exchange',
'cli/corso-backup-delete-exchange',
'cli/corso-restore-exchange']
},
{
type: 'category',
label: 'OneDrive',
link: {
slug: 'cli/onedrive',
description: 'Documentation for commonly-used Corso OneDrive CLI commands',
},
items: [
'cli/corso-backup-create-onedrive',
'cli/corso-backup-list-onedrive',
'cli/corso-backup-details-onedrive',
'cli/corso-backup-delete-onedrive',
'cli/corso-restore-onedrive']
},
{
type: 'category',
label: 'SharePoint',
link: {
slug: 'cli/sharepoint',
description: 'Documentation for commonly-used Corso SharePoint CLI commands',
},
items: [
'cli/corso-backup-create-sharepoint',
'cli/corso-backup-list-sharepoint',
'cli/corso-backup-details-sharepoint',
'cli/corso-backup-delete-sharepoint',
'cli/corso-restore-sharepoint']
}
] ]
}, },
{ {