Use versioned URL for "Online Documentation" buttons in the editor

This also avoids a redirect, making the page appear to load faster.
This commit is contained in:
Hugo Locurcio 2022-02-17 18:16:11 +01:00
parent b6f3af4698
commit 958912a33f
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
2 changed files with 3 additions and 2 deletions

View file

@ -2908,7 +2908,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
command_palette->open_popup();
} break;
case HELP_DOCS: {
OS::get_singleton()->shell_open("https://docs.godotengine.org/");
OS::get_singleton()->shell_open(VERSION_DOCS_URL "/");
} break;
case HELP_QA: {
OS::get_singleton()->shell_open("https://godotengine.org/qa/");