Remove outdated documentation files.

This commit is contained in:
Viktor Kovacs 2023-01-14 12:57:00 +01:00
parent 0ca1aedf6f
commit de91c416d7

View File

@ -439,6 +439,11 @@ def Main (argv):
resultDir = os.path.join (rootDir, 'docs')
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
with open (os.path.join (sourceDir, 'config.json')) as configJson:
config = json.load (configJson)