Skip to content

Commit cdac196

Browse files
committed
更新网站
1 parent 076f8cc commit cdac196

File tree

9 files changed

+57
-2100
lines changed

9 files changed

+57
-2100
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/static.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/website.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- website
87
paths:
98
- '.github/workflows/website.yml'
109
- 'website/**'

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22

33
---
44

5-
6-
75
![](assets/logo.png)
86

97
---
108

11-
12-
139
# RMM 传统模式
1410

1511
> 运行Action Workflow
@@ -249,3 +245,6 @@ SOFTWARE.
249245
> APATCH : The kernel based root solution.
250246
> RootAVD: The AVD root script.
251247
> ShellCheck: The shell script static analysis tool.
248+
249+
250+
![](assets/20250612_052803_1749675378348sm0dl0tc.png)

assets/ogol.png

50.4 KB
Loading

website/docs/.vitepress/config.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import { defineConfig } from 'vitepress'
2+
3+
export default defineConfig({
4+
title: 'RMM 文档',
5+
description: 'RMM CLI 文档和教程',
6+
base: '/',
7+
lastUpdated: true, // 显示页面最后更新时间
8+
themeConfig: {
9+
logo: 'assets/logo.png',
10+
outline: [2,3], // 在右侧显示大纲(h2/h3)
11+
nav: [
12+
{ text: '快速开始', link: '/guide/installation' },
13+
{ text: '使用教程', link: '/guide/usage' },
14+
{
15+
text: '命令参考',
16+
items: [
17+
{ text: 'init', link: '/guide/init' },
18+
{ text: 'build', link: '/guide/build' },
19+
{ text: 'test', link: '/guide/test' },
20+
{ text: 'publish', link: '/guide/publish' },
21+
{ text: 'sync', link: '/guide/sync' },
22+
{ text: 'config', link: '/guide/config' },
23+
{ text: 'deploy', link: '/guide/deploy' }
24+
]
25+
},
26+
{ text: 'GitHub', link: 'https://github.com/LIghtJUNction/RootManage-Module-Model' }
27+
],
28+
sidebar: {
29+
'/guide/': [
30+
{ text: '快速开始', link: '/guide/installation' },
31+
{ text: '使用教程', link: '/guide/usage' },
32+
{ text: 'rmm init', link: '/guide/init' },
33+
{ text: 'rmm build', link: '/guide/build' },
34+
{ text: 'rmm test', link: '/guide/test' },
35+
{ text: 'rmm publish', link: '/guide/publish' },
36+
{ text: 'rmm sync', link: '/guide/sync' },
37+
{ text: 'rmm config', link: '/guide/config' },
38+
{ text: '部署指南', link: '/guide/deploy' }
39+
]
40+
},
41+
socialLinks: [
42+
{ icon: 'github', link: 'https://github.com/LIghtJUNction/RootManage-Module-Model' }
43+
],
44+
footer: {
45+
message: 'Released under the MIT License.',
46+
copyright: 'Copyright © 2025 LIghtJUNction'
47+
},
48+
editLink: {
49+
pattern: 'https://github.com/LIghtJUNction/RootManage-Module-Model/edit/main/website/docs/:path',
50+
text: '在 GitHub 上编辑此页'
51+
}
52+
}
53+
})

website/docs/guide/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ title: 部署指南
2727
```bash
2828
npm run dev
2929
```
30-
4. 浏览器打开 http://localhost:5173 查看效果
30+
4. 注意:文中不应出现本地链接。请将 `http://localhost:5173` 替换为文档内有效链接或移除
3131

3232
## 生成静态文件
3333

0 commit comments

Comments
 (0)