Merge "[Docs] Fix doc building idempotency"
This commit is contained in:
commit
916a98b69c
@ -103,7 +103,7 @@ stg = imp.load_source(
|
||||
'scenario_table_gen',
|
||||
os.path.join(CONF_PATH, 'scenario_table_gen.py')
|
||||
)
|
||||
with open(TABLE_FILE, 'a+') as f:
|
||||
with open(TABLE_FILE, 'w') as f:
|
||||
f.write(stg.main())
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
|
@ -41,7 +41,7 @@ def main():
|
||||
for items in scenario_meta_data.values():
|
||||
for item in items:
|
||||
config_items.add(item['name'].split('.')[0])
|
||||
config_items = list(config_items)
|
||||
config_items = list(sorted(config_items))
|
||||
|
||||
for item in config_items:
|
||||
HTML_TABLE += '<tr>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user