mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 00:22:23 +08:00
docs: Switch to venv
This commit is contained in:
parent
142ff1b455
commit
996fbbf0c3
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -14,3 +14,5 @@
|
|||
/*.xcframework/
|
||||
.DS_Store
|
||||
/config.d/
|
||||
/venv/
|
||||
|
||||
|
|
8
Makefile
8
Makefile
|
@ -197,13 +197,15 @@ lib_install:
|
|||
go install -v github.com/sagernet/gomobile/cmd/gobind@v0.1.3
|
||||
|
||||
docs:
|
||||
mkdocs serve
|
||||
venv/bin/mkdocs serve
|
||||
|
||||
publish_docs:
|
||||
mkdocs gh-deploy -m "Update" --force --ignore-version --no-history
|
||||
venv/bin/mkdocs gh-deploy -m "Update" --force --ignore-version --no-history
|
||||
|
||||
docs_install:
|
||||
pip install --force-reinstall mkdocs-material=="9.*" mkdocs-static-i18n=="1.2.*"
|
||||
python -m venv venv
|
||||
source ./venv/bin/activate && pip install --force-reinstall mkdocs-material=="9.*" mkdocs-static-i18n=="1.2.*"
|
||||
|
||||
clean:
|
||||
rm -rf bin dist sing-box
|
||||
rm -f $(shell go env GOPATH)/sing-box
|
||||
|
|
Loading…
Reference in New Issue
Block a user