feat: Adjust the directory structure

This commit is contained in:
pomelo-nwu
2025-10-22 16:22:58 +08:00
parent eb95c131be
commit 6183f24be7
33 changed files with 84 additions and 3 deletions

10
docs/_meta.ts Normal file
View File

@@ -0,0 +1,10 @@
export default {
overview: 'Overview',
cli: 'CLI',
core: 'Core',
tools: 'Tools',
features: 'Features',
'ide-integration': 'IDE Integration',
development: 'Development',
support: 'Support',
};

35
docs/cli/_meta.ts Normal file
View File

@@ -0,0 +1,35 @@
export default {
index: 'Introduction',
authentication: 'Authentication',
'openai-auth': 'OpenAI Authentication',
commands: 'Commands',
configuration: 'Configuration',
'configuration-v1': 'Configuration (v1)',
themes: 'Themes',
tutorials: 'Tutorials',
'keyboard-shortcuts': 'Keyboard Shortcuts',
'trusted-folders': 'Trusted Folders',
Uninstall: 'Uninstall',
'qwen-ignore': 'Ignoring Files',
};
/**
*
* { "label": "Introduction", "slug": "docs/cli" },
{ "label": "Authentication", "slug": "docs/cli/authentication" },
{ "label": "Commands", "slug": "docs/cli/commands" },
{ "label": "Configuration", "slug": "docs/cli/configuration" },
{ "label": "Checkpointing", "slug": "docs/checkpointing" },
{ "label": "Extensions", "slug": "docs/extension" },
{ "label": "Headless Mode", "slug": "docs/headless" },
{ "label": "IDE Integration", "slug": "docs/ide-integration" },
{
"label": "IDE Companion Spec",
"slug": "docs/ide-companion-spec"
},
{ "label": "Telemetry", "slug": "docs/telemetry" },
{ "label": "Themes", "slug": "docs/cli/themes" },
{ "label": "Token Caching", "slug": "docs/cli/token-caching" },
{ "label": "Trusted Folders", "slug": "docs/trusted-folders" },
{ "label": "Tutorials", "slug": "docs/cli/tutorials" }
*/

View File

@@ -7,11 +7,8 @@ Within Qwen Code, `packages/cli` is the frontend for users to send and receive p
- **[Authentication](./authentication.md):** A guide to setting up authentication with Qwen OAuth and OpenAI-compatible providers.
- **[Commands](./commands.md):** A reference for Qwen Code CLI commands (e.g., `/help`, `/tools`, `/theme`).
- **[Configuration](./configuration.md):** A guide to tailoring Qwen Code CLI behavior using configuration files.
- **[Headless Mode](../headless.md):** A comprehensive guide to using Qwen Code programmatically for scripting and automation.
- **[Token Caching](./token-caching.md):** Optimize API costs through token caching.
- **[Themes](./themes.md)**: A guide to customizing the CLI's appearance with different themes.
- **[Tutorials](tutorials.md)**: A tutorial showing how to use Qwen Code to automate a development task.
- **[Welcome Back](./welcome-back.md)**: Learn about the Welcome Back feature that helps you resume work seamlessly across sessions.
## Non-interactive mode

View File

@@ -0,0 +1,7 @@
export default {
npm: 'NPM',
releases: 'Releases',
telemetry: 'Telemetry',
'integration-tests': 'Integration Tests',
'issue-and-pr-automation': 'Issue and PR Automation',
};

8
docs/features/_meta.ts Normal file
View File

@@ -0,0 +1,8 @@
export default {
subagent: 'Subagent',
checkpointing: 'Checkpointing',
sandbox: 'Sandbox Support',
'headless-mode': 'Headless Mode',
'welcome-back': 'Welcome Back',
'token-caching': 'Token Caching',
};

View File

@@ -0,0 +1,4 @@
export default {
index: 'Introduction',
'ide-companion-spec': 'IDE Companion Spec',
};

4
docs/overview/_meta.ts Normal file
View File

@@ -0,0 +1,4 @@
export default {
index: 'Introduction',
architecture: 'Architecture Overview',
};

5
docs/support/_meta.ts Normal file
View File

@@ -0,0 +1,5 @@
export default {
faq: 'FAQ',
troubleshooting: 'Troubleshooting',
'tos-privacy': 'Terms of Service',
};

11
docs/tools/_meta.ts Normal file
View File

@@ -0,0 +1,11 @@
export default {
overview: 'Overview',
'file-system': 'File System',
'multi-file': 'Multi-File Read',
shell: 'Shell',
'todo-write': 'Todo Write',
'web-fetch': 'Web Fetch',
'web-search': 'Web Search',
memory: 'Memory',
'mcp-server': 'MCP Servers',
};