feat: added doc rendering

This commit is contained in:
2026-05-04 06:47:28 +02:00
parent 43a4610ce7
commit cb46b45cda
10 changed files with 635 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ defmodule BDS.Desktop.MenuBar do
@moduledoc false
use BDS.Desktop.MenuCompat
alias BDS.Desktop.{ShellData, Shutdown, UILocale}
alias BDS.Desktop.{ExternalLinks, ShellData, Shutdown, UILocale}
alias BDS.UI.Commands
alias BDS.UI.MenuBar, as: ShellMenuBar
alias Desktop.OS
@@ -59,7 +59,7 @@ defmodule BDS.Desktop.MenuBar do
end
def handle_event("view_on_github", menu) do
OS.launch_default_browser("https://github.com/rfc1437/bDS")
OS.launch_default_browser(ExternalLinks.github_url())
{:noreply, menu}
end
@@ -78,7 +78,7 @@ defmodule BDS.Desktop.MenuBar do
end
def handle_event("report_issue", menu) do
OS.launch_default_browser("https://github.com/rfc1437/bDS/issues")
OS.launch_default_browser(ExternalLinks.github_issues_url())
{:noreply, menu}
end