mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 10:44:26 +00:00
Remove Request Docs button in the script editor due to various issues
The Request Docs button is partly responsible for layout overflow
issues on narrow displays, such as #31133.
It also tended to attract spam and low-effort issues that were
difficult to act upon. A "Send Docs Feedback" menu option has been added
to replace it.
(cherry picked from commit 2f6f029a75)
This commit is contained in:
parent
2ec4af6f16
commit
b5d41bb517
5 changed files with 11 additions and 20 deletions
|
|
@ -1101,11 +1101,6 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
|
||||
OS::get_singleton()->shell_open("https://docs.godotengine.org/");
|
||||
} break;
|
||||
case REQUEST_DOCS: {
|
||||
|
||||
OS::get_singleton()->shell_open("https://github.com/godotengine/godot-docs/issues/new");
|
||||
} break;
|
||||
|
||||
case WINDOW_NEXT: {
|
||||
|
||||
_history_forward();
|
||||
|
|
@ -1452,7 +1447,6 @@ void ScriptEditor::_notification(int p_what) {
|
|||
|
||||
help_search->set_icon(get_icon("HelpSearch", "EditorIcons"));
|
||||
site_search->set_icon(get_icon("Instance", "EditorIcons"));
|
||||
request_docs->set_icon(get_icon("Issue", "EditorIcons"));
|
||||
|
||||
script_forward->set_icon(get_icon("Forward", "EditorIcons"));
|
||||
script_back->set_icon(get_icon("Back", "EditorIcons"));
|
||||
|
|
@ -3380,12 +3374,6 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
|
|||
menu_hb->add_child(site_search);
|
||||
site_search->set_tooltip(TTR("Open Godot online documentation."));
|
||||
|
||||
request_docs = memnew(ToolButton);
|
||||
request_docs->set_text(TTR("Request Docs"));
|
||||
request_docs->connect("pressed", this, "_menu_option", varray(REQUEST_DOCS));
|
||||
menu_hb->add_child(request_docs);
|
||||
request_docs->set_tooltip(TTR("Help improve the Godot documentation by giving feedback."));
|
||||
|
||||
help_search = memnew(ToolButton);
|
||||
help_search->set_text(TTR("Search Help"));
|
||||
help_search->connect("pressed", this, "_menu_option", varray(SEARCH_HELP));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue