corso/docs/sidebars.js
Georgi Matev 3d9aa326e8
Missing env command in docs sidebar (#715)
## Description

Adds `corso env` auto-gen command docs to docs sidebar. 

## Type of change

Please check the type of change your PR introduces:
- [ ] 🌻 Feature
- [x] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [ ] 🐹 Trivial/Minor

## Issue(s)

## Test Plan

<!-- How will this be tested prior to merging.-->

- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2022-08-31 23:40:29 +00:00

46 lines
1.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',
'install',
{
type: 'category',
label: 'Initial Configuration',
items: ['configuration/concepts', 'configuration/m365_access', 'configuration/repos'],
},
{
type: 'category',
label: 'Command Line Reference',
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_env'
]
},
{
type: 'category',
label: 'Developer Guide',
items: [
'developers/architecture', 'developers/build', 'developers/testing', 'developers/linters'
],
},
],
};
module.exports = sidebars;