Files
skillshare/website/sidebars.ts
T
Willie 001fff0c77 feat: add .skillignore, --exclude flag, and license display for install
Implement three install features with full documentation:

- .skillignore: repo-level file to hide skills from discovery (exact
  match + trailing wildcard). Applied during git repo discovery before
  any selection prompt.
- --exclude: CLI flag to skip specific skills during multi-skill install.
  Filters before the interactive prompt so excluded skills never appear.
  Warns when used with direct local-path installs (not applicable).
- License display: shows SKILL.md license frontmatter in selection
  prompts and single-skill confirmation screen.

Add 7 integration tests, 2 new doc pages (declarative-manifest,
url-formats), and cross-reference updates across 6 existing doc pages.
2026-02-18 22:23:50 +08:00

173 lines
3.9 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',
'concepts/declarative-manifest',
],
},
{
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',
'commands/version',
],
},
],
},
{
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',
'reference/url-formats',
],
},
],
};
export default sidebars;