Files
Xen-Orchestra-xen-orchestra…/docs/sidebars.ts
Thomas Moraine 1b0dbc7d3b docs(xo6): hide categories that dont contain any actual pages (#10066)
Recently we've introduced new sections for the xo6 category of the XO doc.
These categories were meant to be filled later with new pages.
The pages were created as placeholders, but didn't actually contain any text, just titles.
These made readers confused, so this commit
Hides the sections from the sidebar until we update them
With actual content.

Signed-off-by: Thomas Moraine <thomas.moraine@vates.tech>
2026-07-03 08:44:14 +02:00

227 lines
4.9 KiB
TypeScript

import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'
/**
* 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.
*/
/*
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
};
*/
export default {
docs: [
{
type: 'doc',
id: 'intro',
label: 'Introduction',
},
{
type: 'category',
label: 'XO 6',
collapsible: true,
collapsed: false,
items:[
/* These categories are hidden until they no longer only contain blank pages
{
type: 'category',
label: 'What\'s new in XO6',
collapsible: true,
collapsed: true,
items:[
'xo6/whatsnew',
'xo6/xo6vsxo5',
],
},
{
type: 'category',
label: 'Getting started',
collapsible: true,
collapsed: true,
items:[
'xo6/gettingstarted',
],
},
{
type: 'category',
label: 'Core concepts',
collapsible: true,
collapsed: true,
items:[
'xo6/coreconcepts',
],
},
{
type: 'category',
label: 'Management',
collapsible: true,
collapsed: true,
items:[
'xo6/management',
],
},
{
type: 'category',
label: 'Backups',
collapsible: true,
collapsed: true,
items:[
'xo6/backups',
],
},
*/
{
type: 'category',
label: 'Security',
collapsible: true,
collapsed: true,
items:[
{
type: 'category',
label: 'User management',
collapsible: true,
collapsed: true,
items:[
'xo6/acl-v2',
],
},
],
},
{
type: 'category',
label: 'Support',
collapsible: true,
collapsed: true,
items: [
'xo6/intro_support',
'xo6/purchase',
'xo6/community'
],
},
]
},
{
type: 'category',
label: 'XO 5',
collapsible: true,
collapsed: false,
items:[
{
type: 'category',
label: 'Xen Orchestra',
collapsible: true,
collapsed: true,
items: [
'xo5/releases',
'xo5/supported_hosts',
'xo5/installation',
'xo5/configuration',
'xo5/credential-encryption',
'xo5/migrate_to_new_xoa',
'xo5/updater',
'xo5/architecture',
'xo5/troubleshooting',
]
},
{
type: 'category',
label: 'Management',
collapsible: true,
collapsed: true,
items: [
'xo5/manage',
'xo5/manage_infrastructure',
'xo5/object-storage-support',
'xo5/v2v-migration-guide',
'xo5/users',
'xo5/vm-templates',
'xo5/advanced',
'xo5/load_balancing',
'xo5/sdn_controller',
'xo5/restapi',
'xo5/mcp'
],
},
{
type: 'category',
label: 'Backups',
collapsible: true,
collapsed: true,
items: [
'xo5/intro_backup',
'xo5/backups',
'xo5/backup_howto',
'xo5/proxy',
'xo5/rolling_snapshots',
'xo5/full_backups',
'xo5/incremental_backups',
'xo5/full_replication',
'xo5/incremental_replication',
'xo5/mirror_backup',
'xo5/metadata_backup',
'xo5/immutability',
'xo5/backup_reports',
'xo5/backup_troubleshooting',
],
},
{
type: 'category',
label: 'Support',
collapsible: true,
collapsed: true,
items: [
'xo5/xoa',
'xo5/license_management'
],
},
]
},
{
type: 'category',
label: 'Project',
collapsible: true,
collapsed: true,
items: [
'intro_project',
{
type: 'link',
label: 'Changelog',
href: 'https://github.com/vatesfr/xen-orchestra/blob/master/CHANGELOG.md#changelog',
},
'contributing',
'licenses',
{
type: 'link',
label: 'Roadmap',
href: 'https://docs.vates.tech/roadmap/',
},
'glossary',
],
},
],
}
//export default sidebars;