Merge pull request #9773 from filecoin-project/snissn/fix/make-docsgen-cli

fix make docsgen-cli use python3
This commit is contained in:
Łukasz Magiera 2022-12-05 10:02:42 +01:00 committed by GitHub
commit a4c999a098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ snap: lotus lotus-miner lotus-worker
# separate from gen because it needs binaries
docsgen-cli: lotus lotus-miner lotus-worker
python ./scripts/generate-lotus-cli.py
python3 ./scripts/generate-lotus-cli.py
./lotus config default > documentation/en/default-lotus-config.toml
./lotus-miner config default > documentation/en/default-lotus-miner-config.toml
.PHONY: docsgen-cli

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# Generate lotus command lines documents as text and markdown in folder "lotus/documentation/en".
# Python 2.7
# Python 3
import os