Skip to content

Commit a81d29c

Browse files
committed
docs: add GitHub Pages portal
1 parent 48e9ca2 commit a81d29c

File tree

5 files changed

+651
-1
lines changed

5 files changed

+651
-1
lines changed

.github/workflows/pages.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- docs/**
9+
- .github/workflows/pages.yml
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
concurrency:
18+
group: pages
19+
cancel-in-progress: true
20+
21+
jobs:
22+
deploy:
23+
runs-on: ubuntu-latest
24+
environment:
25+
name: github-pages
26+
url: ${{ steps.deployment.outputs.page_url }}
27+
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
32+
- name: Setup Pages
33+
uses: actions/configure-pages@v5
34+
35+
- name: Upload artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: docs
39+
40+
- name: Deploy
41+
id: deployment
42+
uses: actions/deploy-pages@v4

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# YCode CLI
22

3+
[![NuGet Version](https://img.shields.io/nuget/v/YCode.CLI?style=for-the-badge&label=NuGet)](https://www.nuget.org/packages/YCode.CLI)
4+
[![GitHub Release](https://img.shields.io/github/v/release/ycode-lin/YCode.CLI?style=for-the-badge&label=Release)](https://github.com/ycode-lin/YCode.CLI/releases)
5+
[![GitHub Stars](https://img.shields.io/github/stars/ycode-lin/YCode.CLI?style=for-the-badge&label=Stars)](https://github.com/ycode-lin/YCode.CLI/stargazers)
6+
[![Project Portal](https://img.shields.io/badge/Portal-GitHub%20Pages-0d0d0d?style=for-the-badge)](https://ycode-lin.github.io/YCode.CLI/)
7+
38
.NET 10 的命令行 AI 代理项目,结合 Subagent、MCP 工具、记忆管理与技能加载,用于学习与二次扩展。
49

510
## 特性
@@ -31,6 +36,14 @@
3136
YCODE_CONTEXT7=your_context7_api_key
3237
```
3338

39+
## 门户页面
40+
项目门户页会发布到 GitHub Pages:
41+
42+
- Portal: https://ycode-lin.github.io/YCode.CLI/
43+
- NuGet: https://www.nuget.org/packages/YCode.CLI
44+
- Releases: https://github.com/ycode-lin/YCode.CLI/releases
45+
- Repository: https://github.com/ycode-lin/YCode.CLI
46+
3447
## 设计分层
3548
```mermaid
3649
flowchart TD
@@ -89,7 +102,7 @@ Workflow 默认读取仓库里的 `NUGET_API_KEY` secret。
89102
- [Kode 项目](https://github.com/shareAI-lab/Kode) (Python实现的参考)
90103

91104
## Star History
92-
[![Star History Chart](https://api.star-history.com/svg?repos=ycode-lin/YCode.CLI&type=Date)](https://star-history.com/#ycode-lin/YCode.CLI&Date)
105+
[![Star History Chart](https://api.star-history.com/svg?repos=ycode-lin%2Fycode.cli&type=Date)](https://star-history.com/#ycode-lin/YCode.CLI&Date)
93106

94107
## 许可证
95108
MIT License

0 commit comments

Comments
 (0)