fs tables

This commit is contained in:
Tristan Rowley
2020-01-10 19:23:54 +00:00
parent 2e441a82b8
commit 5c947ea4e4
2 changed files with 1 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ def generate_mappings_doc(title, mappings, column_one_header="Note/CC"):
output = "" output = ""
output += "# %s\n" % title output += "# %s\n" % title
output += "\n| %s | Mode | Action (default) | Action (with FN) | \n" % column_one_header output += "\n| %s | Mode | Action (default) | Action (with FN) | \n" % column_one_header
output += ("| --- " * 4) + " |\n"
for message, maps in sorted(mappings.items()): for message, maps in sorted(mappings.items()):
#output += "| %s | " % message #output += "| %s | " % message
for mode, actions in maps.items(): for mode, actions in maps.items():