From 86545778cd419053f2ae5f156ff4c9e18ae73b77 Mon Sep 17 00:00:00 2001 From: Tumppi066 <83072683+Tumppi066@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:33:51 +0300 Subject: [PATCH] Fixed wiki links --- FAQ/LaneDetectionTypes.md | 4 ++-- README.md | 6 +++--- blog/V1.10.0.md | 2 +- blog/V1.11.0.md | 2 +- docs/plugins/About/main.html | 6 +++--- docs/plugins/BetterCamScreenCapture/main.html | 4 ++-- docs/plugins/Changelog/main.html | 6 +++--- docs/plugins/DXCamScreenCapture/main.html | 4 ++-- docs/plugins/Examples/PrintGameTime/index.html | 2 +- docs/plugins/Examples/PrintGameTime/main.html | 6 +++--- docs/plugins/FirstTimeSetup/main.html | 18 +++++++++--------- docs/plugins/NavDetectionSetup/main.html | 6 +++--- docs/src/mainUI.html | 4 ++-- plugins/About/main.py | 2 +- plugins/Changelog/main.py | 2 +- plugins/Examples/PrintGameTime/main.py | 2 +- plugins/FirstTimeSetup/main.py | 6 +++--- plugins/MainMenu/main.py | 2 +- plugins/NavigationDetection/main.py | 4 ++-- plugins/TrafficLightDetection/main.py | 4 ++-- plugins/Wiki/main.py | 2 +- retype.yml | 4 ++-- src/helpers.md | 2 +- src/helpers.py | 2 +- src/variables.py | 2 +- tutorials/PluginCreation.md | 4 ++-- tutorials/debug.md | 2 +- 27 files changed, 55 insertions(+), 55 deletions(-) diff --git a/FAQ/LaneDetectionTypes.md b/FAQ/LaneDetectionTypes.md index 8f6d4bb3c..b60ce4531 100644 --- a/FAQ/LaneDetectionTypes.md +++ b/FAQ/LaneDetectionTypes.md @@ -33,7 +33,7 @@ Downsides: - Whenever you get a notification in the route advisor, Navigation Detection won't work. This is due to the minimap being blocked. We are looking into solutions for this. - Icons and company names may mess lane detection up since Navigation Detection uses colors to search for lane lines. This can be fixed easily by installing the CleanRouteAdvisor mod. You can find it [here.](https://steamcommunity.com/sharedfiles/filedetails/?id=3169871185) -[Documentation](https://wiki.tumppi066.fi/plugins/navigationdetection/) +[Documentation](https://wiki.ets2la.com/plugins/navigationdetection/) === LSTR Lane Detection !!!warning This is an outdated version of lane detection, not reccomended. !!! @@ -49,7 +49,7 @@ Downsides: - Heavier on performance than Navigation Detection - It requires a more difficult setup -[Documentation](https://wiki.tumppi066.fi/plugins/lstrlanedetection/) +[Documentation](https://wiki.ets2la.com/plugins/lstrlanedetection/) === UFLD (Ultra Fast Lane Detector) Lane Detection !!!warning This is an outdated version of lane detection, not reccomended. diff --git a/README.md b/README.md index 7e37f338e..5851a18c5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Discord: https://discord.gg/DpJpkNpqwD Youtube: https://www.youtube.com/@tumppi066 -Wiki: https://wiki.tumppi066.fi/ +Wiki: https://wiki.ets2la.com/ Documentation (VERY WIP & AUTOGENERATED): https://docs.tumppi066.fi @@ -47,7 +47,7 @@ Check the demonstration [video](https://www.youtube.com/watch?v=4F5u0B70pAw). ### How do I install it? You can watch the latest installation [video](https://www.youtube.com/watch?v=0pic0rzjvik&t=1s). Downloading and installing takes about 20 minutes. And then another 10 to tune in your own values. -Alternatively you can also follow the written instructions on the [wiki](https://wiki.tumppi066.fi/). Keep in mind that both the video and the wiki might not be up to date! +Alternatively you can also follow the written instructions on the [wiki](https://wiki.ets2la.com/). Keep in mind that both the video and the wiki might not be up to date! ### How to update? @@ -64,7 +64,7 @@ Those not familiar with github should do as follows: 2. Make your changes in your fork 3. Make a pull request to merge the changes to the public version. -The plugin infrastructure has documentation on the [wiki](https://wiki.tumppi066.fi/). +The plugin infrastructure has documentation on the [wiki](https://wiki.ets2la.com/). ### I have issues / suggestions. diff --git a/blog/V1.10.0.md b/blog/V1.10.0.md index b5bbe22fa..4ebff9239 100644 --- a/blog/V1.10.0.md +++ b/blog/V1.10.0.md @@ -17,7 +17,7 @@ We also do still include the raw installer code in the [installer branch](https: - This still requires a full remake, but it's *good enough* for now. - Switched to bettercam in the place of dxcam. - Drop in replacement, but represents a performance improvement of up to 10ms. -- Added a [new wiki](https://wiki.tumppi066.fi/) +- Added a [new wiki](https://wiki.ets2la.com/) - Still very much WIP. ### Bug Fixes diff --git a/blog/V1.11.0.md b/blog/V1.11.0.md index ae88f9e10..9c2e8d3a8 100644 --- a/blog/V1.11.0.md +++ b/blog/V1.11.0.md @@ -42,4 +42,4 @@ As always there have been too many changes to go over here (69 updates to be exa - And the people that have helped with testing and feedback! ### Notes on installer -It is recommended to try and use the new .exe installer, however, if for some reason that does not work, you can still use the manual install instructions at [the wiki page](https://wiki.tumppi066.fi/tutorials/installation/#manual-installation). \ No newline at end of file +It is recommended to try and use the new .exe installer, however, if for some reason that does not work, you can still use the manual install instructions at [the wiki page](https://wiki.ets2la.com/tutorials/installation/#manual-installation). \ No newline at end of file diff --git a/docs/plugins/About/main.html b/docs/plugins/About/main.html index de67a521e..37e543c20 100644 --- a/docs/plugins/About/main.html +++ b/docs/plugins/About/main.html @@ -433,7 +433,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.About. helpers.MakeLabel(self.root, " ", 8,0, font=("Roboto", 10), padx=0, pady=10, columnspan=1, sticky="w") import webbrowser - helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") + helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") helpers.MakeButton(self.root, "Support me on Ko-fi", lambda: webbrowser.open("https://ko-fi.com/tumppi066"), 14,0, padx=0, pady=10, columnspan=1, width=20, sticky="w") self.root.pack(anchor="center", expand=False) @@ -525,7 +525,7 @@

Classes

helpers.MakeLabel(self.root, " ", 8,0, font=("Roboto", 10), padx=0, pady=10, columnspan=1, sticky="w") import webbrowser - helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") + helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") helpers.MakeButton(self.root, "Support me on Ko-fi", lambda: webbrowser.open("https://ko-fi.com/tumppi066"), 14,0, padx=0, pady=10, columnspan=1, width=20, sticky="w") self.root.pack(anchor="center", expand=False) @@ -589,7 +589,7 @@

Methods

helpers.MakeLabel(self.root, " ", 8,0, font=("Roboto", 10), padx=0, pady=10, columnspan=1, sticky="w") import webbrowser - helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") + helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") helpers.MakeButton(self.root, "Support me on Ko-fi", lambda: webbrowser.open("https://ko-fi.com/tumppi066"), 14,0, padx=0, pady=10, columnspan=1, width=20, sticky="w") self.root.pack(anchor="center", expand=False) diff --git a/docs/plugins/BetterCamScreenCapture/main.html b/docs/plugins/BetterCamScreenCapture/main.html index efb5d498c..1c5199d70 100644 --- a/docs/plugins/BetterCamScreenCapture/main.html +++ b/docs/plugins/BetterCamScreenCapture/main.html @@ -476,7 +476,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.Better from tkinter import messagebox if messagebox.askyesno("Error", Translate("bettercam failed to initialize. It is likely that your python is not running on the integrated graphics.\nDo you want to open the instructions on how to fix this?\n\nThe main loop will disable to prevent further errors.")): import webbrowser - webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") + webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") variables.ENABLELOOP = False @@ -703,7 +703,7 @@

Functions

from tkinter import messagebox if messagebox.askyesno("Error", Translate("bettercam failed to initialize. It is likely that your python is not running on the integrated graphics.\nDo you want to open the instructions on how to fix this?\n\nThe main loop will disable to prevent further errors.")): import webbrowser - webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") + webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") variables.ENABLELOOP = False
diff --git a/docs/plugins/Changelog/main.html b/docs/plugins/Changelog/main.html index 15eee3fd9..7d1a1c6a3 100644 --- a/docs/plugins/Changelog/main.html +++ b/docs/plugins/Changelog/main.html @@ -404,7 +404,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.Change if CHANGE_LOG_SHOWN == False: - helpers.OpenWebView("Changelog", "https://wiki.tumppi066.fi/blog/", width=800, height=600) + helpers.OpenWebView("Changelog", "https://wiki.ets2la.com/blog/", width=800, height=600) CHANGE_LOG_SHOWN = True helpers.MakeLabel(self.root, "Close this window by middle clicking on the tab.", 0, 0) @@ -466,7 +466,7 @@

Classes

if CHANGE_LOG_SHOWN == False: - helpers.OpenWebView("Changelog", "https://wiki.tumppi066.fi/blog/", width=800, height=600) + helpers.OpenWebView("Changelog", "https://wiki.ets2la.com/blog/", width=800, height=600) CHANGE_LOG_SHOWN = True helpers.MakeLabel(self.root, "Close this window by middle clicking on the tab.", 0, 0) @@ -521,7 +521,7 @@

Methods

if CHANGE_LOG_SHOWN == False: - helpers.OpenWebView("Changelog", "https://wiki.tumppi066.fi/blog/", width=800, height=600) + helpers.OpenWebView("Changelog", "https://wiki.ets2la.com/blog/", width=800, height=600) CHANGE_LOG_SHOWN = True helpers.MakeLabel(self.root, "Close this window by middle clicking on the tab.", 0, 0) diff --git a/docs/plugins/DXCamScreenCapture/main.html b/docs/plugins/DXCamScreenCapture/main.html index ea17f1167..45fe2a14e 100644 --- a/docs/plugins/DXCamScreenCapture/main.html +++ b/docs/plugins/DXCamScreenCapture/main.html @@ -476,7 +476,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.Better from tkinter import messagebox if messagebox.askyesno("Error", Translate("bettercam failed to initialize. It is likely that your python is not running on the integrated graphics.\nDo you want to open the instructions on how to fix this?\n\nThe main loop will disable to prevent further errors.")): import webbrowser - webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") + webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") variables.ENABLELOOP = False @@ -703,7 +703,7 @@

Functions

from tkinter import messagebox if messagebox.askyesno("Error", Translate("bettercam failed to initialize. It is likely that your python is not running on the integrated graphics.\nDo you want to open the instructions on how to fix this?\n\nThe main loop will disable to prevent further errors.")): import webbrowser - webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") + webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/CommonIssues#the-specified-device-interface-or-feature-level-is-not-supported-on-this-system") variables.ENABLELOOP = False
diff --git a/docs/plugins/Examples/PrintGameTime/index.html b/docs/plugins/Examples/PrintGameTime/index.html index 51871130c..599457172 100644 --- a/docs/plugins/Examples/PrintGameTime/index.html +++ b/docs/plugins/Examples/PrintGameTime/index.html @@ -352,7 +352,7 @@

Sub-modules

Euro-Truck-Simulator-2-Lane-Assist.plugins.Examples.PrintGameTime.main
-

This example is a part of the wiki page available here: https://wiki.tumppi066.fi/tutorials/plugincreation/

+

This example is a part of the wiki page available here: https://wiki.ets2la.com/tutorials/plugincreation/

diff --git a/docs/plugins/Examples/PrintGameTime/main.html b/docs/plugins/Examples/PrintGameTime/main.html index adfd570b5..94ebb5352 100644 --- a/docs/plugins/Examples/PrintGameTime/main.html +++ b/docs/plugins/Examples/PrintGameTime/main.html @@ -5,7 +5,7 @@ Euro-Truck-Simulator-2-Lane-Assist.plugins.Examples.PrintGameTime.main API documentation - + @@ -342,13 +342,13 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.Examples.PrintGameTime.main

-

This example is a part of the wiki page available here: https://wiki.tumppi066.fi/tutorials/plugincreation/

+

This example is a part of the wiki page available here: https://wiki.ets2la.com/tutorials/plugincreation/

Expand source code
"""
-This example is a part of the wiki page available here: https://wiki.tumppi066.fi/tutorials/plugincreation/
+This example is a part of the wiki page available here: https://wiki.ets2la.com/tutorials/plugincreation/
 """
 
 
diff --git a/docs/plugins/FirstTimeSetup/main.html b/docs/plugins/FirstTimeSetup/main.html
index c2e6a48c1..82d2d9d7a 100644
--- a/docs/plugins/FirstTimeSetup/main.html
+++ b/docs/plugins/FirstTimeSetup/main.html
@@ -415,7 +415,7 @@ 

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.FirstT # REMEMBER TO CHANGE BACK TO PAGE1 helpers.MakeButton(self.root, "Tutorial Video ↗", lambda: helpers.OpenInBrowser("https://www.youtube.com/watch?v=0pic0rzjvik"), 4,0, width=20) - helpers.MakeButton(self.root, "Wiki ↗", lambda: helpers.OpenInBrowser("https://wiki.tumppi066.fi/en/LaneAssist"), 4,1, width=20) + helpers.MakeButton(self.root, "Wiki ↗", lambda: helpers.OpenInBrowser("https://wiki.ets2la.com/en/LaneAssist"), 4,1, width=20) helpers.MakeButton(self.root, "Next", lambda: self.detectionselection(), 4,2, width=20) helpers.MakeEmptyLine(self.root, 5,0, columnspan=3) @@ -437,7 +437,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.FirstT def detectionselection(self): settings.CreateSettings("Plugins", "Enabled", ["TruckersMPLock"]) def openwiki(): - webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/en/LaneAssist/DetectionTypes") + webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/en/LaneAssist/DetectionTypes") webview.start() self.root.destroy() del self.root @@ -782,7 +782,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.FirstT helpers.MakeButton(self.root, "Previous", lambda: self.soundSettings(), 11,0) import webbrowser - helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/InGame"), 11,1) + helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/InGame"), 11,1) self.apiNextButton = helpers.MakeButton(self.root, "Waiting for api...", lambda: self.lastPage(), 11,2, state="disabled") self.root.pack() @@ -918,7 +918,7 @@

Classes

# REMEMBER TO CHANGE BACK TO PAGE1 helpers.MakeButton(self.root, "Tutorial Video ↗", lambda: helpers.OpenInBrowser("https://www.youtube.com/watch?v=0pic0rzjvik"), 4,0, width=20) - helpers.MakeButton(self.root, "Wiki ↗", lambda: helpers.OpenInBrowser("https://wiki.tumppi066.fi/en/LaneAssist"), 4,1, width=20) + helpers.MakeButton(self.root, "Wiki ↗", lambda: helpers.OpenInBrowser("https://wiki.ets2la.com/en/LaneAssist"), 4,1, width=20) helpers.MakeButton(self.root, "Next", lambda: self.detectionselection(), 4,2, width=20) helpers.MakeEmptyLine(self.root, 5,0, columnspan=3) @@ -940,7 +940,7 @@

Classes

def detectionselection(self): settings.CreateSettings("Plugins", "Enabled", ["TruckersMPLock"]) def openwiki(): - webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/en/LaneAssist/DetectionTypes") + webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/en/LaneAssist/DetectionTypes") webview.start() self.root.destroy() del self.root @@ -1285,7 +1285,7 @@

Classes

helpers.MakeButton(self.root, "Previous", lambda: self.soundSettings(), 11,0) import webbrowser - helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/InGame"), 11,1) + helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/InGame"), 11,1) self.apiNextButton = helpers.MakeButton(self.root, "Waiting for api...", lambda: self.lastPage(), 11,2, state="disabled") self.root.pack() @@ -1430,7 +1430,7 @@

Methods

def detectionselection(self):
     settings.CreateSettings("Plugins", "Enabled", ["TruckersMPLock"])
     def openwiki():
-            webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/en/LaneAssist/DetectionTypes")
+            webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/en/LaneAssist/DetectionTypes")
             webview.start()
     self.root.destroy()
     del self.root
@@ -1568,7 +1568,7 @@ 

Methods

helpers.MakeButton(self.root, "Previous", lambda: self.soundSettings(), 11,0) import webbrowser - helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/InGame"), 11,1) + helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/InGame"), 11,1) self.apiNextButton = helpers.MakeButton(self.root, "Waiting for api...", lambda: self.lastPage(), 11,2, state="disabled") self.root.pack() @@ -1716,7 +1716,7 @@

Methods

# REMEMBER TO CHANGE BACK TO PAGE1 helpers.MakeButton(self.root, "Tutorial Video ↗", lambda: helpers.OpenInBrowser("https://www.youtube.com/watch?v=0pic0rzjvik"), 4,0, width=20) - helpers.MakeButton(self.root, "Wiki ↗", lambda: helpers.OpenInBrowser("https://wiki.tumppi066.fi/en/LaneAssist"), 4,1, width=20) + helpers.MakeButton(self.root, "Wiki ↗", lambda: helpers.OpenInBrowser("https://wiki.ets2la.com/en/LaneAssist"), 4,1, width=20) helpers.MakeButton(self.root, "Next", lambda: self.detectionselection(), 4,2, width=20) helpers.MakeEmptyLine(self.root, 5,0, columnspan=3) diff --git a/docs/plugins/NavDetectionSetup/main.html b/docs/plugins/NavDetectionSetup/main.html index 0a0ae21c1..08ffbcc4f 100644 --- a/docs/plugins/NavDetectionSetup/main.html +++ b/docs/plugins/NavDetectionSetup/main.html @@ -429,7 +429,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.plugins.NavDet cv2.waitKey(1) def openwiki(self): - webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/en/LaneAssist/DetectionTypes#navigation-detection-v2-glas42") + webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/en/LaneAssist/DetectionTypes#navigation-detection-v2-glas42") webview.start() def introPage(self): @@ -607,7 +607,7 @@

Classes

cv2.waitKey(1) def openwiki(self): - webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/en/LaneAssist/DetectionTypes#navigation-detection-v2-glas42") + webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/en/LaneAssist/DetectionTypes#navigation-detection-v2-glas42") webview.start() def introPage(self): @@ -715,7 +715,7 @@

Methods

Expand source code
def openwiki(self):
-    webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/en/LaneAssist/DetectionTypes#navigation-detection-v2-glas42")
+    webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/en/LaneAssist/DetectionTypes#navigation-detection-v2-glas42")
     webview.start()

diff --git a/docs/src/mainUI.html b/docs/src/mainUI.html index 63e325861..7fb8dae0f 100644 --- a/docs/src/mainUI.html +++ b/docs/src/mainUI.html @@ -574,7 +574,7 @@

Module Euro-Truck-Simulator-2-Lane-Assist.src.mainUIArgs

helpers.MakeButton(pluginFrames[0], "First Time Setup", lambda: switchSelectedPlugin("plugins.FirstTimeSetup.main"), 0, 1, width=20, style="Accent.TButton", autoplace=True) helpers.MakeButton(pluginFrames[0], "LANGUAGE - 语言设置", lambda: switchSelectedPlugin("plugins.DeepTranslator.main"), 0, 2, width=20, style="Accent.TButton", translate=False, autoplace=True) helpers.MakeButton(pluginFrames[0], "Video Tutorial ↗ ", lambda: helpers.OpenInBrowser("https://www.youtube.com/watch?v=0pic0rzjvik"), 0, 1, width=20, autoplace=True, tooltip="https://www.youtube.com/watch?v=0pic0rzjvik") - helpers.MakeButton(pluginFrames[0], "ETS2LA Wiki ↗ ", lambda: helpers.OpenInBrowser("https://wiki.tumppi066.fi/en/LaneAssist"), 0, 2, width=20, autoplace=True, tooltip="https://wiki.tumppi066.fi/en/LaneAssist") + helpers.MakeButton(pluginFrames[0], "ETS2LA Wiki ↗ ", lambda: helpers.OpenInBrowser("https://wiki.ets2la.com/en/LaneAssist"), 0, 2, width=20, autoplace=True, tooltip="https://wiki.ets2la.com/en/LaneAssist") helpers.MakeEmptyLine(pluginFrames[0], 0, 1, columnspan=2, autoplace=True) helpers.MakeLabel(pluginFrames[0], "You can use F5 to refresh the UI and come back to this page.\n (as long as the app is disabled)", 0, 1, columnspan=2, autoplace=True) helpers.MakeLabel(pluginFrames[0], "The top of the app has all your currently open tabs.\n They can be closed with the middle mouse button.\n (or right mouse button if so configured)", 0, 1, columnspan=2, autoplace=True) diff --git a/plugins/About/main.py b/plugins/About/main.py index 0513eae3f..22903965d 100644 --- a/plugins/About/main.py +++ b/plugins/About/main.py @@ -82,7 +82,7 @@ def exampleFunction(self): helpers.MakeLabel(self.root, " ", 8,0, font=("Roboto", 10), padx=0, pady=10, columnspan=1, sticky="w") import webbrowser - helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") + helpers.MakeButton(self.root, "Wiki", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist"), 13,0, padx=0, pady=10, columnspan=1, width=20, style="Accent.TButton", sticky="w") helpers.MakeButton(self.root, "Support me on Ko-fi", lambda: webbrowser.open("https://ko-fi.com/tumppi066"), 14,0, padx=0, pady=10, columnspan=1, width=20, sticky="w") self.root.pack(anchor="center", expand=False) diff --git a/plugins/Changelog/main.py b/plugins/Changelog/main.py index 57b3e94d0..fbc22155e 100644 --- a/plugins/Changelog/main.py +++ b/plugins/Changelog/main.py @@ -60,7 +60,7 @@ def exampleFunction(self): tempdir = os.path.join(tempdir, "ets2la-web-cache") self.frame=WebView2(self.root,1220,715, cache=tempdir) self.frame.pack() - self.frame.load_url('https://wiki.tumppi066.fi/blog') + self.frame.load_url('https://wiki.ets2la.com/blog') self.root.pack(anchor="center", expand=False) self.root.update() diff --git a/plugins/Examples/PrintGameTime/main.py b/plugins/Examples/PrintGameTime/main.py index 82fe46116..78598fe8c 100644 --- a/plugins/Examples/PrintGameTime/main.py +++ b/plugins/Examples/PrintGameTime/main.py @@ -1,5 +1,5 @@ """ -This example is a part of the wiki page available here: https://wiki.tumppi066.fi/tutorials/plugincreation/ +This example is a part of the wiki page available here: https://wiki.ets2la.com/tutorials/plugincreation/ """ diff --git a/plugins/FirstTimeSetup/main.py b/plugins/FirstTimeSetup/main.py index a4332c03c..cabb1e285 100644 --- a/plugins/FirstTimeSetup/main.py +++ b/plugins/FirstTimeSetup/main.py @@ -37,7 +37,7 @@ def init_pygame(): pygame.joystick.init() threading.Thread(target=init_pygame).start() -wiki_link = "https://wiki.tumppi066.fi/" +wiki_link = "https://wiki.ets2la.com/" class UI(): @@ -91,7 +91,7 @@ def page0(self): def detectionselection(self): settings.CreateSettings("Plugins", "Enabled", ["TruckersMPLock"]) def openwiki(): - webview.create_window("Lane Assist Wiki", "https://wiki.tumppi066.fi/faq/lanedetectiontypes") + webview.create_window("Lane Assist Wiki", "https://wiki.ets2la.com/faq/lanedetectiontypes") webview.start() self.root.destroy() del self.root @@ -391,7 +391,7 @@ def InstallETS2ATSPlugin(self): helpers.MakeButton(self.root, "Previous", lambda: self.soundSettings(), 11,0) import webbrowser - helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.tumppi066.fi/en/LaneAssist/InGame"), 11,1) + helpers.MakeButton(self.root, "Open instructions", lambda: webbrowser.open("https://wiki.ets2la.com/en/LaneAssist/InGame"), 11,1) self.apiNextButton = helpers.MakeButton(self.root, "Waiting for api...", lambda: self.lastPage(), 11,2, state="disabled") self.root.pack() diff --git a/plugins/MainMenu/main.py b/plugins/MainMenu/main.py index 30d00492a..87b257912 100644 --- a/plugins/MainMenu/main.py +++ b/plugins/MainMenu/main.py @@ -91,7 +91,7 @@ def exampleFunction(self): helpers.MakeButton(self.root, "First Time Setup", lambda: mainUI.switchSelectedPlugin("plugins.FirstTimeSetup.main"), 0, 1, width=20, style="Accent.TButton", autoplace=True) helpers.MakeButton(self.root, "LANGUAGE - 语言设置", lambda: mainUI.switchSelectedPlugin("plugins.DeepTranslator.main"), 0, 2, width=20, style="Accent.TButton", translate=False, autoplace=True) helpers.MakeButton(self.root, "Video Tutorial", lambda: LoadURL("https://www.youtube.com/watch?v=0pic0rzjvik"), 0, 1, width=20, autoplace=True, tooltip="https://www.youtube.com/watch?v=0pic0rzjvik") - helpers.MakeButton(self.root, "ETS2LA Wiki", lambda: LoadURL("https://wiki.tumppi066.fi"), 0, 2, width=20, autoplace=True, tooltip="https://wiki.tumppi066.fi/en/LaneAssist") + helpers.MakeButton(self.root, "ETS2LA Wiki", lambda: LoadURL("https://wiki.ets2la.com"), 0, 2, width=20, autoplace=True, tooltip="https://wiki.ets2la.com/en/LaneAssist") helpers.MakeEmptyLine(self.root, 0, 1, columnspan=2, autoplace=True, fontSize=3) helpers.MakeLabel(self.root, "You can use F5 to refresh the UI and come back to this page.\n (as long as the app is disabled)", 0, 1, columnspan=2, autoplace=True) helpers.MakeLabel(self.root, "The top of the app has all your currently open tabs.\n They can be closed with the middle mouse button.\n (or right mouse button if so configured)", 0, 1, columnspan=2, autoplace=True) diff --git a/plugins/NavigationDetection/main.py b/plugins/NavigationDetection/main.py index 332d9c7e5..af3ff6144 100644 --- a/plugins/NavigationDetection/main.py +++ b/plugins/NavigationDetection/main.py @@ -1497,9 +1497,9 @@ def OpenWiki(): from src.mainUI import closeTabName from plugins.Wiki.main import LoadURL closeTabName("Wiki") - LoadURL("https://wiki.tumppi066.fi/plugins/navigationdetection") + LoadURL("https://wiki.ets2la.com/plugins/navigationdetection") else: - helpers.OpenInBrowser("https://wiki.tumppi066.fi/plugins/navigationdetection") + helpers.OpenInBrowser("https://wiki.ets2la.com/plugins/navigationdetection") helpers.MakeLabel(setupFrame, "Choose a setup method:", 1, 0, font=("Robot", 12, "bold"), sticky="nw") diff --git a/plugins/TrafficLightDetection/main.py b/plugins/TrafficLightDetection/main.py index ac17456d8..e566c485d 100644 --- a/plugins/TrafficLightDetection/main.py +++ b/plugins/TrafficLightDetection/main.py @@ -1763,9 +1763,9 @@ def OpenWiki(): from src.mainUI import closeTabName from plugins.Wiki.main import LoadURL closeTabName("Wiki") - LoadURL("https://wiki.tumppi066.fi/plugins/trafficlightdetection") + LoadURL("https://wiki.ets2la.com/plugins/trafficlightdetection") else: - helpers.OpenInBrowser("https://wiki.tumppi066.fi/plugins/trafficlightdetection") + helpers.OpenInBrowser("https://wiki.ets2la.com/plugins/trafficlightdetection") helpers.MakeCheckButton(filtersFrame, "Rect Size Filter", "TrafficLightDetection", "rectsizefilter", 3, 0, width=60, callback=lambda:UpdateSettings()) diff --git a/plugins/Wiki/main.py b/plugins/Wiki/main.py index a71a67988..94da60a49 100644 --- a/plugins/Wiki/main.py +++ b/plugins/Wiki/main.py @@ -26,7 +26,7 @@ from tkwebview2 import WebView2, have_runtime, install_runtime from tempfile import gettempdir -URL = "https://wiki.tumppi066.fi" +URL = "https://wiki.ets2la.com" RESET = True def LoadURL(url): diff --git a/retype.yml b/retype.yml index 7b2d8bc53..8e46916a5 100644 --- a/retype.yml +++ b/retype.yml @@ -21,7 +21,7 @@ output: wiki # Custom path to the output directory # ----------------------------------------------------------------------------- #url: example.com # The base URL of your website -url: wiki.tumppi066.fi # Can also be a sub-domain +url: wiki.ets2la.com # Can also be a sub-domain #url: example.com/docs # Can also include a sub-folder path #url: https://example.com/docs # Can also include a protocol @@ -51,7 +51,7 @@ links: # Custom links to add to the top bar target: blank # Custom target # Use "blank" to open link in a new window - text: Developer Documentation - link: https://wiki.tumppi066.fi/docs/ # Link to an internal file + link: https://wiki.ets2la.com/docs/ # Link to an internal file icon: gear # A custom icon name, :emoji:, , or # a path to a file iconAlign: left # Icon alignment, to the left or right diff --git a/src/helpers.md b/src/helpers.md index 7981b9c3d..5e02eb18d 100644 --- a/src/helpers.md +++ b/src/helpers.md @@ -109,7 +109,7 @@ helpers.MakeButton(pluginFrames[0], "Plugin Manager", lambda: switchSelectedPlug helpers.MakeButton(pluginFrames[0], "First Time Setup", lambda: switchSelectedPlugin("plugins.FirstTimeSetup.main"), 0, 1, width=20, style="Accent.TButton", autoplace=True) helpers.MakeButton(pluginFrames[0], "LANGUAGE - 语言设置", lambda: switchSelectedPlugin("plugins.DeepTranslator.main"), 0, 2, width=20, style="Accent.TButton", translate=False, autoplace=True) helpers.MakeButton(pluginFrames[0], "Video Tutorial ↗ ", lambda: helpers.OpenInBrowser("https://www.youtube.com/watch?v=0pic0rzjvik"), 0, 1, width=20, autoplace=True, tooltip="https://www.youtube.com/watch?v=0pic0rzjvik") -helpers.MakeButton(pluginFrames[0], "ETS2LA Wiki ↗ ", lambda: helpers.OpenInBrowser("https://wiki.tumppi066.fi/en/LaneAssist"), 0, 2, width=20, autoplace=True, tooltip="https://wiki.tumppi066.fi/en/LaneAssist") +helpers.MakeButton(pluginFrames[0], "ETS2LA Wiki ↗ ", lambda: helpers.OpenInBrowser("https://wiki.ets2la.com/en/LaneAssist"), 0, 2, width=20, autoplace=True, tooltip="https://wiki.ets2la.com/en/LaneAssist") helpers.MakeEmptyLine(pluginFrames[0], 0, 1, columnspan=2, autoplace=True) helpers.MakeLabel(pluginFrames[0], "You can use F5 to refresh the UI and come back to this page.\n (as long as the app is disabled)", 0, 1, columnspan=2, autoplace=True) helpers.MakeLabel(pluginFrames[0], "The top of the app has all your currently open tabs.\n They can be closed with the middle mouse button.\n (or right mouse button if so configured)", 0, 1, columnspan=2, autoplace=True) diff --git a/src/helpers.py b/src/helpers.py index 2645a734e..c5e29616a 100644 --- a/src/helpers.py +++ b/src/helpers.py @@ -344,7 +344,7 @@ def OpenWikiPage(url:str): Args: url (str): The URL extension. """ - variables.WIKI_URL = "https://wiki.tumppi066.fi/" + url + variables.WIKI_URL = "https://wiki.ets2la.com/" + url mainUI.switchSelectedPlugin("plugins.Wiki.main") diff --git a/src/variables.py b/src/variables.py index a0a5a52a4..a84183187 100644 --- a/src/variables.py +++ b/src/variables.py @@ -42,7 +42,7 @@ """The current scaling of windows.""" FRAMECOUNTER = 0 """The amount of frames that have passed since the program started.""" -WIKI_URL = "https://wiki.tumppi066.fi" +WIKI_URL = "https://wiki.ets2la.com" """The url that will show when the wiki panel is opened""" IN_VENV = sys.prefix != sys.base_prefix """Whether the program is running in a virtual environment or not.""" diff --git a/tutorials/PluginCreation.md b/tutorials/PluginCreation.md index 7c8214ee5..38bb4755e 100644 --- a/tutorials/PluginCreation.md +++ b/tutorials/PluginCreation.md @@ -61,7 +61,7 @@ This is the class that contains information about the plugin. It is used by the **The plugin example will contain almost everything you need.** !!! Note -You can check the current state of the file [on the documentation page](https://wiki.tumppi066.fi/docs/plugins/plugin.html). +You can check the current state of the file [on the documentation page](https://wiki.ets2la.com/docs/plugins/plugin.html). !!! ==- [!badge variant="dark" text="Required"] ‎ `plugin(data)` @@ -189,7 +189,7 @@ It was put on the second page, but our keybind is indeed there. Now the user can !!! Note on keybinds. You can also get a float value from a controller. To do this add `axis=True` to the RegisterKeybind function. -For more info on the controls module, check out the [controls page](https://wiki.tumppi066.fi/docs/src/controls.html). +For more info on the controls module, check out the [controls page](https://wiki.ets2la.com/docs/src/controls.html). !!! +++ Step 5 #### Sending data to the game. diff --git a/tutorials/debug.md b/tutorials/debug.md index 5889d872d..4c9c80f68 100644 --- a/tutorials/debug.md +++ b/tutorials/debug.md @@ -37,7 +37,7 @@ If you have an old installer, go to the directory where you have your app instal Simply run it like you would run.bat. When its done, a file called "debug.txt" will be created. Drag and drop this file into the Discord chat. This will allow your helper/developer to diagnose your app. ## Running Debug With a New Installer (With Support Bot) -If you have a new installer and you have verified that the bot is operational, open the "menu.bat" file. Press the "Debug" button. This will open a window that shows you your debug information. Click the "Send Debug Data" option. once the debug is sent, click close oj the dialog. The debug information will be sent to your helper/developer in a private Discord channel. This data is not stored anywhere external. Find more info about how we use data [here](https://wiki.tumppi066.fi/faq/tracking/). +If you have a new installer and you have verified that the bot is operational, open the "menu.bat" file. Press the "Debug" button. This will open a window that shows you your debug information. Click the "Send Debug Data" option. once the debug is sent, click close oj the dialog. The debug information will be sent to your helper/developer in a private Discord channel. This data is not stored anywhere external. Find more info about how we use data [here](https://wiki.ets2la.com/faq/tracking/). ## Running Debug With an New Installer (Without Support Bot)