Skip to content

Commit e3249b8

Browse files
author
Adrien GIVRY
committed
Documentation links hotfix
I made a mistake for v1.1.0 release because the documentation link wasn't pointing to a specified Overload version. Now on the Overload server, documentation and scripting API is splitted into multiple version folders, thus, every specific version of overload can point to the right folder (Prevent users from v1.1.0 to open a v1.2.0 documentation for example). I've also added a text with the current Overload version in the help menu (Better to help user to see their current version if they need some help).
1 parent 137b943 commit e3249b8

File tree

1 file changed

+5
-2
lines changed
  • Sources/Overload/OvEditor/src/OvEditor/Panels

1 file changed

+5
-2
lines changed

Diff for: Sources/Overload/OvEditor/src/OvEditor/Panels/MenuBar.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ void OvEditor::Panels::MenuBar::CreateLayoutMenu()
217217
void OvEditor::Panels::MenuBar::CreateHelpMenu()
218218
{
219219
auto& helpMenu = CreateWidget<MenuList>("Help");
220-
helpMenu.CreateWidget<MenuItem>("Overload Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/documentation/annotated.html"); };
221-
helpMenu.CreateWidget<MenuItem>("Scripting Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/api"); };
220+
helpMenu.CreateWidget<MenuItem>("Overload Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/doc/1.1/annotated.html"); };
221+
helpMenu.CreateWidget<MenuItem>("Scripting Documentation").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org/api/1.1"); };
222222
helpMenu.CreateWidget<MenuItem>("Overload Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://overloadengine.org"); };
223223

224224
helpMenu.CreateWidget<Visual::Separator>();
@@ -227,6 +227,9 @@ void OvEditor::Panels::MenuBar::CreateHelpMenu()
227227
auto& adrien = creditsMenu.CreateWidget<MenuList>("Adrien GIVRY");
228228
auto& benji = creditsMenu.CreateWidget<MenuList>("Benjamin VIRANIN");
229229

230+
helpMenu.CreateWidget<Visual::Separator>();
231+
helpMenu.CreateWidget<Texts::Text>("Current version: 1.1.1");
232+
230233
max.CreateWidget<MenuItem>("Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://maxbrun.wixsite.com/maxbrundevelopment"); };
231234
max.CreateWidget<MenuItem>("GitHub").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("https://github.com/maxbrundev"); };
232235
adrien.CreateWidget<MenuItem>("Website").ClickedEvent += [] {OvTools::Utils::SystemCalls::OpenURL("http://adrien-givry.com/"); };

0 commit comments

Comments
 (0)