From 1386cbb277fa3eeb4c6305879a269889352bdab9 Mon Sep 17 00:00:00 2001 From: Mohamad Fadil Date: Fri, 3 Nov 2023 23:27:03 +0800 Subject: [PATCH] Fix the redirect for intro to the correct url for docs (#5658) * fix the redirect for intro to the correct url for docs * fix code linting --------- Co-authored-by: James Maslek --- openbb_terminal/terminal_controller.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openbb_terminal/terminal_controller.py b/openbb_terminal/terminal_controller.py index 81b4a5a19a8..abda862b6bd 100644 --- a/openbb_terminal/terminal_controller.py +++ b/openbb_terminal/terminal_controller.py @@ -607,7 +607,9 @@ class TerminalController(BaseController): def call_intro(self, _): """Process intro command.""" - webbrowser.open("https://docs.openbb.co/terminal/usage/basics") + webbrowser.open( + "https://docs.openbb.co/terminal/usage/overview/structure-and-navigation" + ) def call_exe(self, other_args: List[str]): """Process exe command.""" @@ -830,7 +832,9 @@ def terminal(jobs_cmds: Optional[List[str]] = None, test_mode=False): if first_time_user(): with contextlib.suppress(EOFError): - webbrowser.open("https://docs.openbb.co/terminal/usage/basics") + webbrowser.open( + "https://docs.openbb.co/terminal/usage/overview/structure-and-navigation" + ) t_controller.print_help() check_for_updates()