Files
程序员阿江(Relakkes)andClaude Opus 4.6 007b8abab8 docs: add VitePress documentation site with i18n and GitHub Pages deployment
- Set up VitePress with bilingual support (Chinese root + English /en/)
- Create unified sidebar navigation with all doc sections
- Add custom Anthropic brand theme (#D97757)
- Create Quick Start pages (zh/en) from README content
- Migrate 7 .en.md files to docs/en/ directory structure
- Translate memory/agent/skills docs to English (9 files)
- Generate English-only architecture diagrams (11 images via PicTactic)
- Copy English-ready images for agent/skills sections (21 images)
- Configure custom domain (claudecodehaha.relakkesyang.org)
- Localize Chinese UI labels (sidebar, outline, footer)
- Add documentation site badge to READMEs
- Fix dead links and update cross-references for VitePress

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-04 22:21:45 +08:00

41 lines
874 B
Markdown

# 全局使用(任意目录启动)
如果你希望在任意项目目录直接运行 `claude-haha`,可以通过以下方式配置。配置完成后,`claude-haha` 会自动识别你当前所在的工作目录。
## macOS / Linux
`~/.bashrc``~/.zshrc` 中添加:
```bash
# 方式一:添加 PATH(推荐)
export PATH="$HOME/path/to/claude-code-haha/bin:$PATH"
# 方式二:alias
alias claude-haha="$HOME/path/to/claude-code-haha/bin/claude-haha"
```
然后重新加载配置:
```bash
source ~/.bashrc # 或 source ~/.zshrc
```
## Windows (Git Bash)
`~/.bashrc` 中添加:
```bash
export PATH="$HOME/path/to/claude-code-haha/bin:$PATH"
```
## 验证
配置完成后,进入任意项目目录测试:
```bash
cd ~/your-other-project
claude-haha
# 启动后询问「当前目录是什么?」,应显示 ~/your-other-project
```