From 5c947ea4e45d9823456f97cccccf64824655f2d6 Mon Sep 17 00:00:00 2001 From: Tristan Rowley Date: Fri, 10 Jan 2020 19:23:54 +0000 Subject: [PATCH] fs tables --- DEFAULT_CONTROLS.md => DEFAULT_CONTROLS.txt | 0 utils/docs.py | 1 + 2 files changed, 1 insertion(+) rename DEFAULT_CONTROLS.md => DEFAULT_CONTROLS.txt (100%) diff --git a/DEFAULT_CONTROLS.md b/DEFAULT_CONTROLS.txt similarity index 100% rename from DEFAULT_CONTROLS.md rename to DEFAULT_CONTROLS.txt diff --git a/utils/docs.py b/utils/docs.py index 1843583..1003022 100644 --- a/utils/docs.py +++ b/utils/docs.py @@ -5,6 +5,7 @@ def generate_mappings_doc(title, mappings, column_one_header="Note/CC"): output = "" output += "# %s\n" % title output += "\n| %s | Mode | Action (default) | Action (with FN) | \n" % column_one_header + output += ("| --- " * 4) + " |\n" for message, maps in sorted(mappings.items()): #output += "| %s | " % message for mode, actions in maps.items():