mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-01-29 22:02:05 +00:00
118 lines
3.1 KiB
TypeScript
118 lines
3.1 KiB
TypeScript
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
|
|
|
|
const sidebars: SidebarsConfig = {
|
|
tutorialSidebar: [
|
|
{
|
|
type: 'category',
|
|
label: 'Server',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'Claude Code Router Server',
|
|
description: 'Deploy and manage Claude Code Router server',
|
|
slug: 'category/server',
|
|
},
|
|
items: [
|
|
'server/intro',
|
|
'server/deployment',
|
|
{
|
|
type: 'category',
|
|
label: 'API Reference',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'API Reference',
|
|
description: 'Server API documentation',
|
|
slug: 'category/api',
|
|
},
|
|
items: [
|
|
'server/api/overview',
|
|
'server/api/messages-api',
|
|
'server/api/config-api',
|
|
'server/api/logs-api',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Configuration',
|
|
key: 'server-configuration-category',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'Server Configuration',
|
|
description: 'Server configuration guide',
|
|
slug: 'category/server-config',
|
|
},
|
|
items: [
|
|
'server/config/basic',
|
|
'server/config/providers',
|
|
'server/config/routing',
|
|
'server/config/transformers',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Advanced',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'Advanced Topics',
|
|
description: 'Advanced features and customization',
|
|
slug: 'category/server-advanced',
|
|
},
|
|
items: [
|
|
'server/advanced/custom-router',
|
|
'server/advanced/presets',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'CLI',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'Claude Code Router CLI',
|
|
description: 'Command-line tool usage guide',
|
|
slug: 'category/cli',
|
|
},
|
|
items: [
|
|
'cli/intro',
|
|
'cli/installation',
|
|
'cli/quick-start',
|
|
{
|
|
type: 'category',
|
|
label: 'Commands',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'CLI Commands',
|
|
description: 'Complete command reference',
|
|
slug: 'category/cli-commands',
|
|
},
|
|
items: [
|
|
'cli/commands/start',
|
|
'cli/commands/model',
|
|
'cli/commands/status',
|
|
'cli/commands/statusline',
|
|
'cli/commands/preset',
|
|
'cli/commands/other',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Configuration',
|
|
key: 'cli-configuration-category',
|
|
link: {
|
|
type: 'generated-index',
|
|
title: 'CLI Configuration',
|
|
description: 'CLI configuration guide',
|
|
slug: 'category/cli-config',
|
|
},
|
|
items: [
|
|
'cli/config/basic',
|
|
'cli/config/project-level',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
export default sidebars;
|