From 5f1b0e04ddb2ca3bcb5693ef24e78b0af4e0617e Mon Sep 17 00:00:00 2001 From: endorphant Date: Sun, 22 May 2016 01:49:38 -0400 Subject: [PATCH] adding in-program documentation browser it just opens up the readme file in links. --- bin/_ttbp.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/_ttbp.py b/bin/_ttbp.py index 06d0d0b..bf2a7c4 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -333,7 +333,8 @@ def main_menu(): "browse global feels", "change your settings", "send some feedback", - "see credits"] + "see credits", + "read documentation"] print("you're at ttbp home. remember, you can always press to come back here.\n\n") print_menu(menuOptions) @@ -376,6 +377,9 @@ def main_menu(): elif choice == '6': redraw() show_credits() + elif choice == '7': + subprocess.call(["links", os.path.join(SOURCE, "..", "README.html")]) + redraw() elif choice in QUITS: return stop() else: