Merge pull request #9773 from filecoin-project/snissn/fix/make-docsgen-cli
fix make docsgen-cli use python3
This commit is contained in:
commit
a4c999a098
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user