Files
skillshare/website/sidebars.ts
T
Willie cd81a01f99 docs: add hub index guide, command reference, and rename to skillshare-hub.json
Rename default output from index.json to skillshare-hub.json for
uniqueness. Add website docs for hub command and hub index guide.
Update search command docs with --index-url section. Add hub and
hub-index to sidebar.
2026-02-13 14:21:37 +08:00

170 lines
3.8 KiB
TypeScript

import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docsSidebar: [
'intro',
{
type: 'category',
label: 'Getting Started',
collapsed: false,
items: [
'getting-started/index',
'getting-started/first-sync',
'getting-started/from-existing-skills',
'getting-started/quick-reference',
],
},
{
type: 'category',
label: 'Concepts',
items: [
'concepts/index',
'concepts/source-and-targets',
'concepts/sync-modes',
'concepts/tracked-repositories',
'concepts/skill-format',
'concepts/project-skills',
],
},
{
type: 'category',
label: 'Workflows',
items: [
'workflows/index',
'workflows/daily-workflow',
'workflows/skill-discovery',
'workflows/backup-restore',
'workflows/project-workflow',
],
},
{
type: 'category',
label: 'Guides',
items: [
'guides/index',
{
type: 'category',
label: 'Skills',
items: [
'guides/creating-skills',
'guides/organizing-skills',
'guides/best-practices',
],
},
{
type: 'category',
label: 'Sharing',
items: [
'guides/project-setup',
'guides/organization-sharing',
'guides/cross-machine-sync',
'guides/hub-index',
],
},
{
type: 'category',
label: 'Advanced',
items: [
'guides/migration',
'guides/comparison',
'guides/docker-sandbox',
],
},
],
},
{
type: 'category',
label: 'Commands',
items: [
'commands/index',
{
type: 'category',
label: 'Core',
items: [
'commands/init',
'commands/install',
'commands/uninstall',
'commands/list',
'commands/search',
'commands/sync',
'commands/status',
],
},
{
type: 'category',
label: 'Skill Management',
items: [
'commands/new',
'commands/check',
'commands/update',
'commands/upgrade',
],
},
{
type: 'category',
label: 'Target Management',
items: [
'commands/target',
'commands/diff',
],
},
{
type: 'category',
label: 'Sync Operations',
items: [
'commands/collect',
'commands/backup',
'commands/restore',
'commands/trash',
'commands/push',
'commands/pull',
],
},
{
type: 'category',
label: 'Security & Utilities',
items: [
'commands/audit',
'commands/hub',
'commands/log',
'commands/doctor',
'commands/ui',
],
},
],
},
{
type: 'category',
label: 'Targets',
items: [
'targets/index',
'targets/supported-targets',
'targets/adding-custom-targets',
'targets/configuration',
],
},
{
type: 'category',
label: 'Troubleshooting',
items: [
'troubleshooting/index',
'troubleshooting/troubleshooting-workflow',
'troubleshooting/common-errors',
'troubleshooting/windows',
'troubleshooting/faq',
],
},
{
type: 'category',
label: 'Reference',
items: [
'reference/index',
'reference/environment-variables',
'reference/file-structure',
],
},
],
};
export default sidebars;