corso/website/sidebars.js
ashmrtn 3efb67e110
First pass at documentation for maintenance (#3830)
Assumes the addition of `--user` and `--hostname` flags

Also unhides the maintenance command and mode flag

---

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

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [x] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

* #3569

#### Test Plan

- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2023-07-18 06:20:42 +00:00

117 lines
3.2 KiB
JavaScript

/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
docsSidebar: [
'intro',
'quickstart',
{
type: 'category',
label: 'Usage',
items: [
'setup/concepts',
'setup/download',
'setup/m365-access',
'setup/configuration',
'setup/repos',
'setup/fault-tolerance',
'setup/restore-options',
'setup/maintenance'
],
},
{
type: 'category',
label: 'Command line reference',
link: {
slug: 'cli/corso',
description: 'Explore the commonly-used Corso CLI commands',
type: 'generated-index',
},
items: [
{
type: 'category',
label: 'Setup',
link: {
slug: 'cli/setup',
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']
}
]
},
{
type: 'category',
label: 'Support',
items: [
'support/bugs-and-features', 'support/known-issues', 'support/faq'
],
},
{
type: 'category',
label: 'Developer guide',
items: [
'developers/build', 'developers/testing', 'developers/linters'
],
},
],
};
module.exports = sidebars;