Remove outdated documentation files.
This commit is contained in:
parent
0ca1aedf6f
commit
de91c416d7
@ -439,6 +439,11 @@ def Main (argv):
|
|||||||
resultDir = os.path.join (rootDir, 'docs')
|
resultDir = os.path.join (rootDir, 'docs')
|
||||||
sourceDir = os.path.join (resultDir, 'source')
|
sourceDir = os.path.join (resultDir, 'source')
|
||||||
|
|
||||||
|
for fileName in os.listdir (resultDir):
|
||||||
|
filePath = os.path.join (resultDir, fileName)
|
||||||
|
if not os.path.isdir (filePath):
|
||||||
|
os.remove (filePath)
|
||||||
|
|
||||||
config = None
|
config = None
|
||||||
with open (os.path.join (sourceDir, 'config.json')) as configJson:
|
with open (os.path.join (sourceDir, 'config.json')) as configJson:
|
||||||
config = json.load (configJson)
|
config = json.load (configJson)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user