mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-06-18 06:16:05 +01:00
doc: fix build warnings
This commit is contained in:
committed by
Marc Bonnici
parent
3f7f0b38f5
commit
b1b2131b0c
@ -57,9 +57,14 @@ def generate_plugin_documentation(source_dir, outdir, ignore_paths):
|
||||
wfh.write(insert_contents_table())
|
||||
wfh.write(line_break())
|
||||
exts = pluginloader.list_plugins(ext_type)
|
||||
for ext in sorted(exts, key=lambda x: x.name):
|
||||
wfh.write(get_rst_from_plugin(ext))
|
||||
sorted_exts = iter(sorted(exts, key=lambda x: x.name))
|
||||
try:
|
||||
wfh.write(get_rst_from_plugin(sorted_exts.next()))
|
||||
except StopIteration:
|
||||
return
|
||||
for ext in sorted_exts:
|
||||
wfh.write(line_break())
|
||||
wfh.write(get_rst_from_plugin(ext))
|
||||
|
||||
|
||||
def generate_target_documentation(outdir):
|
||||
|
Reference in New Issue
Block a user