mihomo 的文档
部分操作系统python3.11以上依赖虚拟环境运行,不能直接运行
-
debian
- bash/zsh/fish
apt update && apt install virtualenv
- nushell
apt update ; apt install virtualenv
-
archlinux
pacman -Syu python-virtualenv
virtualenv venv
- bash/zsh
source venv/bin/activate
- nushell
use venv/bin/activate.nu
- fish
source venv/bin/activate.fish
deactivate
which python3
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements.txt
mkdocs serve
https://squidfunk.github.io/mkdocs-material/setup/ https://squidfunk.github.io/mkdocs-material/reference/
推荐使用 Prettier 对文档进行格式化。