docs: 更新文档配置并添加启动脚本

- 修改 mkdocs.yml 文件,调整文档结构和主题设置
- 新增 start.py脚本,用于启动 MkDocs服务器
This commit is contained in:
sairate 2025-05-29 19:36:52 +08:00
parent 8e6c848327
commit cb73a84a97
2 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,7 @@ nav:
- arduino内置函数: - arduino内置函数:
- 引脚操作: arduino内置函数/引脚操作.md - 引脚操作: arduino内置函数/引脚操作.md
theme: theme:
name: material name: material
language: zh language: zh
palette: palette:

5
start.py Normal file
View File

@ -0,0 +1,5 @@
import os
import subprocess
# 运行 mkdocs serve 命令
subprocess.run(['mkdocs', 'serve'])