mirror of
https://github.com/wassname/pyreadline.git
synced 2026-09-09 11:31:11 +08:00
merge docchanges from new-docs branch
This commit is contained in:
+7
-1
@@ -2,11 +2,17 @@
|
||||
"""Script to build documentation using Sphinx.
|
||||
"""
|
||||
|
||||
import fileinput,os,sys
|
||||
import fileinput, os, sys
|
||||
|
||||
def oscmd(c):
|
||||
os.system(c)
|
||||
|
||||
if os.path.isdir("build"):
|
||||
os.removedirs("build")
|
||||
|
||||
os.makedirs("build/html")
|
||||
os.makedirs("build/latex")
|
||||
|
||||
# html manual.
|
||||
oscmd('sphinx-build -d build/doctrees source build/html')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user