mirror of
https://github.com/Paul-Houser/StartTree.git
synced 2025-07-01 00:20:12 +02:00
install.py
This commit is contained in:
@ -68,6 +68,10 @@ def print_keys(dictionary):
|
|||||||
if isinstance(dictionary[key], dict):
|
if isinstance(dictionary[key], dict):
|
||||||
print_keys(dictionary[key])
|
print_keys(dictionary[key])
|
||||||
|
|
||||||
|
def gen_list_indices(html_file, file_dict):
|
||||||
|
for key in file_dict:
|
||||||
|
print(key)
|
||||||
|
|
||||||
def gen_col_headers(html_file, file_dict):
|
def gen_col_headers(html_file, file_dict):
|
||||||
for key in file_dict:
|
for key in file_dict:
|
||||||
html_file.write("<li>\n")
|
html_file.write("<li>\n")
|
||||||
@ -75,6 +79,7 @@ def gen_col_headers(html_file, file_dict):
|
|||||||
html_file.write(" <ul>\n")
|
html_file.write(" <ul>\n")
|
||||||
|
|
||||||
# generate list indices
|
# generate list indices
|
||||||
|
gen_list_indices(html_file, file_dict)
|
||||||
|
|
||||||
html_file.write(" </ul>\n")
|
html_file.write(" </ul>\n")
|
||||||
html_file.write("</li>\n")
|
html_file.write("</li>\n")
|
||||||
|
Reference in New Issue
Block a user