fix(docs): resolve VitePress build errors with custom HTML tags

- Fix custom tags (Good, Bad, Before, After, Tip, Note, Warning) in skill docs
- Replace placeholder variables with HTML entities to prevent Vue parser errors
- Allow manual workflow_dispatch to trigger docs deployment
This commit is contained in:
catlog22
2026-02-28 16:53:26 +08:00
parent cd54c10256
commit 84610661ca
7 changed files with 127 additions and 78 deletions

View File

@@ -299,7 +299,7 @@ const content = {
label: 'npm',
lines: [
{ type: 'comment', text: '# Install CCW globally' },
{ type: 'cmd', text: 'npm install -g @anthropic/claude-code-workflow' },
{ type: 'cmd', text: 'npm install -g claude-code-workflow' },
{ type: 'output', text: 'added 1 package in 3s' },
{ type: 'comment', text: '# Initialize in your project' },
{ type: 'cmd', text: 'ccw init' },
@@ -314,7 +314,7 @@ const content = {
label: 'pnpm',
lines: [
{ type: 'comment', text: '# Install CCW globally' },
{ type: 'cmd', text: 'pnpm add -g @anthropic/claude-code-workflow' },
{ type: 'cmd', text: 'pnpm add -g claude-code-workflow' },
{ type: 'output', text: 'Done in 2.1s' },
{ type: 'comment', text: '# Initialize in your project' },
{ type: 'cmd', text: 'ccw init' },
@@ -372,7 +372,7 @@ const content = {
label: 'npm',
lines: [
{ type: 'comment', text: '# 全局安装 CCW' },
{ type: 'cmd', text: 'npm install -g @anthropic/claude-code-workflow' },
{ type: 'cmd', text: 'npm install -g claude-code-workflow' },
{ type: 'output', text: 'added 1 package in 3s' },
{ type: 'comment', text: '# 在项目中初始化' },
{ type: 'cmd', text: 'ccw init' },
@@ -387,7 +387,7 @@ const content = {
label: 'pnpm',
lines: [
{ type: 'comment', text: '# 全局安装 CCW' },
{ type: 'cmd', text: 'pnpm add -g @anthropic/claude-code-workflow' },
{ type: 'cmd', text: 'pnpm add -g claude-code-workflow' },
{ type: 'output', text: 'Done in 2.1s' },
{ type: 'comment', text: '# 在项目中初始化' },
{ type: 'cmd', text: 'ccw init' },