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 <jmaslek11@gmail.com>
This commit is contained in:
Mohamad Fadil
2023-11-03 23:27:03 +08:00
committed by GitHub
parent 478fd5ec2d
commit 1386cbb277

View File

@@ -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()