corso/docs/sidebars.js
Niraj Tolia fc218457d7
Clean up "install" section (#1213)
## Description

This is the first of many changes to improve the Corso documentation. This page
will see more edits with the possibility of further consolidaiton.

The issues this and subsequent comments are trying to fix include:

- Complexity
- Too many clicks
- Information spread out across too many pages
- No single-page getting started guide
- Incorrect or stale information

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [x] 🗺️ Documentation

## Test Plan

- [x] 💪 Manual
2022-10-19 20:17:48 +00:00

55 lines
1.5 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',
'running',
'tutorial',
{
type: 'category',
label: 'Initial Configuration',
items: ['configuration/concepts', 'configuration/m365_access', 'configuration/repos'],
},
{
type: 'category',
label: 'Command Line Reference',
link: {
slug: 'cli/corso',
description: 'Explore the commonly used Corso CLI commands',
type: 'generated-index',
},
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_restore_exchange',
'cli/corso_backup_create_onedrive', 'cli/corso_backup_list_onedrive', 'cli/corso_backup_details_onedrive',
'cli/corso_restore_onedrive',
'cli/corso_env'
]
},
{
type: 'category',
label: 'Developer Guide',
items: [
'developers/architecture', 'developers/build', 'developers/testing', 'developers/linters'
],
},
],
};
module.exports = sidebars;