Files
mttu-docs/README.md
2025-11-08 04:23:10 +08:00

38 lines
539 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# MTTU docs
只要编辑就好。你不需要什么其他的东西。
## 如果你是开发者
### 环境配置
```bash
uv venv
source ./.venv/bin/activate.fish # 如果你在 fish
uv install
```
如果你不用 fish或者觉得直接安装所有东西也没事
```bash
pip install mkdocs watchfiles
```
### Dev
运行一个 Dev 服务器以查看效果
```bash
watchfiles "mkdocs serve" ./docs
```
### Build
```bash
mkdocs build
```
### 文档
见 [mkdocs 文档](https://www.mkdocs.org/user-guide/writing-your-docs/)