lbry-sdk/scripts/gen_docs.py

11 lines
259 B
Python
Raw Normal View History

2018-02-28 09:59:35 +01:00
import gen_cli_docs
import gen_api_docs
import os.path as op
import subprocess
gen_cli_docs.main()
gen_api_docs.main()
cwd = op.dirname(op.realpath(__file__))
cwd = op.realpath(op.join(cwd, ".."))
proc = subprocess.Popen("mkdocs build", cwd=cwd, shell=True)