您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
此存儲庫已封存,您能瀏覽檔案及複製此存儲庫,但不能推送、建立問題及拉取請求。
 
 
 
 
 
 

17 行
314 B

  1. import sys
  2. import subprocess
  3. def main():
  4. dev = "--dev" in sys.argv
  5. if dev:
  6. program = "sphinx-autobuild"
  7. else:
  8. program = "sphinx-build"
  9. cmd = [program, "-d", "build", "-b", "html", "source", "build/html"]
  10. subprocess.run(cmd, check=True)
  11. if __name__ == "__main__":
  12. main()