corso/docs/sidebars.js
Georgi Matev 11a7490400
Fixing docs build break (#992)
## Description

Apparently `go mod tidy` was not the right way to go to ensure dependencies were there when building `mdgen`

## Type of change

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

## Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->

## Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2022-09-29 22:24:12 +00:00

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