40 lines
530 B
Markdown
40 lines
530 B
Markdown
<!--
|
||
* @Author: Logan.Li
|
||
* @Gitee: https://gitee.com/attacker
|
||
* @email: admin@attacker.club
|
||
* @Date: 2023-10-11 00:55:53
|
||
* @LastEditTime: 2023-10-11 10:08:15
|
||
* @Description:
|
||
-->
|
||
# Ezops
|
||
|
||
|
||
## 可以使用pip命令安装MkDocs
|
||
|
||
```bash
|
||
pip3 install mkdocs
|
||
```
|
||
|
||
## 初始化项目
|
||
|
||
```bash
|
||
git clone https://git.opsx.vip/docs/ezops.git
|
||
cd ezops
|
||
python3 -m mkdocs new .
|
||
```
|
||
|
||
## 启动
|
||
|
||
```bash
|
||
pip3 install -r requirements.txt
|
||
mkdocs serve
|
||
```
|
||
|
||
## 构建
|
||
|
||
```bash
|
||
mkdocs build
|
||
mkdocs build –clean # 清理文档残留
|
||
```
|
||
|