This repository contains the GitHub Pages site for the Peeka project.
peeka-project.github.io/
├── _config.yml # Jekyll configuration
├── index.md # Landing page (Chinese)
├── installation.md # Installation guide (Chinese)
├── quickstart.md # Quick start guide (Chinese)
├── examples.md # Usage examples (Chinese)
├── architecture.md # Architecture documentation (Chinese)
├── troubleshooting.md # Troubleshooting guide (Chinese)
├── commands/ # Command reference pages (Chinese)
│ ├── index.md # Commands overview
│ ├── attach.md # attach command
│ ├── watch.md # watch command
│ ├── trace.md # trace command
│ ├── stack.md # stack command
│ ├── monitor.md # monitor command
│ ├── logger.md # logger command
│ ├── memory.md # memory command
│ ├── inspect.md # inspect command
│ ├── search.md # search command (sc/sm)
│ └── reset.md # reset command
└── en/ # English version
├── index.md # Landing page (English)
└── commands/ # Command reference (English)
└── index.md # Commands overview
The site supports multilingual documentation:
- Chinese (中文): Root directory
- English:
/en/ - Spanish (Español):
/es/ - Japanese (日本語):
/ja/
Users can switch languages using the language selector in the top navigation bar.
This site uses the Just the Docs theme, which provides:
- Clean, professional documentation layout
- Built-in search functionality
- Mobile-responsive design
- Easy navigation structure
- Code syntax highlighting
- Ruby 3.1+
- Bundler
cd peeka-project.github.io
# Install dependencies
bundle install
# Run local server
bundle exec jekyll serve --baseurl ""
# Open browser to http://localhost:4000/bundle exec jekyll build --baseurl ""
bundle exec jekyll build --config _config_en.yml --source en --destination _site/en --baseurl "/en"
bundle exec jekyll build --config _config_es.yml --source es --destination _site/es --baseurl "/es"
bundle exec jekyll build --config _config_ja.yml --source ja --destination _site/ja --baseurl "/ja"The built site will be in _site/.
The site is automatically deployed via GitHub Actions when changes are pushed to the main branch.
See .github/workflows/deploy-pages.yml for the deployment configuration.
To enable GitHub Pages for this repository:
- Go to repository Settings → Pages
- Source: GitHub Actions
- The site will be available at
https://peeka-project.github.io/
- Create a new
.mdfile in the repository root or the relevant language directory - Add front matter:
--- layout: default title: Your Page Title nav_order: 10 ---
- Write your content in Markdown
- The page will automatically appear in the navigation
- Create a new
.mdfile incommands/or the relevant languagecommands/directory - Add front matter:
--- layout: default title: command-name parent: 命令参考 nav_order: X ---
- Document the command
Pages are sorted by nav_order in the front matter:
- 1: 首页 (Home)
- 2: 安装指南 (Installation)
- 3: 快速开始 (Quick Start)
- 4: 命令参考 (Commands)
- 5: 示例教程 (Examples)
- 8: 架构设计 (Architecture)
- 9: 故障排除 (Troubleshooting)
When the project documentation changes:
- Update the corresponding
.mdfiles in this repository - Commit and push to
main - GitHub Actions will automatically rebuild and deploy the site
Edit _config.yml to change the color scheme:
color_scheme: light # or dark, nil (system)Add a logo by placing an image in assets/images/ and updating _config.yml:
logo: "https://peeka-project.github.io/assets/images/logo.png"Edit the footer content in _config.yml:
footer_content: "Your custom footer text"