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

@@ -19,7 +19,7 @@ CCW is a comprehensive development environment that combines:
```bash
# Install CCW globally
npm install -g @ccw/cli
npm install -g claude-code-workflow
# Or use with npx
npx ccw --help
@@ -48,7 +48,7 @@ Create a simple workflow in under 5 minutes:
- [Installation Guide](./installation.md) - Detailed installation instructions
- [First Workflow](./first-workflow.md) - 30-minute quickstart tutorial
- [Configuration](./configuration.md) - Customize your CCW setup
- [CLI Tools](./cli-tools.md) - Customize your CCW setup
::: tip Need Help?
Check out our [GitHub Discussions](https://github.com/your-repo/ccw/discussions) or join our [Discord community](https://discord.gg/ccw).

View File

@@ -15,14 +15,14 @@ Before installing CCW, make sure you have:
### Global Installation (Recommended)
```bash
npm install -g @ccw/cli
npm install -g claude-code-workflow
```
### Project-Specific Installation
```bash
# In your project directory
npm install --save-dev @ccw/cli
npm install --save-dev claude-code-workflow
# Run with npx
npx ccw [command]
@@ -32,10 +32,10 @@ npx ccw [command]
```bash
# Global
yarn global add @ccw/cli
yarn global add claude-code-workflow
# Project-specific
yarn add -D @ccw/cli
yarn add -D claude-code-workflow
```
## Verify Installation
@@ -98,16 +98,16 @@ Create `CLAUDE.md` in your project root:
```bash
# Update to the latest version
npm update -g @ccw/cli
npm update -g claude-code-workflow
# Or install a specific version
npm install -g @ccw/cli@latest
npm install -g claude-code-workflow@latest
```
## Uninstallation
```bash
npm uninstall -g @ccw/cli
npm uninstall -g claude-code-workflow
# Remove configuration (optional)
rm -rf ~/.claude
@@ -121,7 +121,7 @@ If you encounter permission errors:
```bash
# Use sudo (not recommended)
sudo npm install -g @ccw/cli
sudo npm install -g claude-code-workflow
# Or fix npm permissions (recommended)
mkdir ~/.npm-global