Documentation site link added to about page and help menu
MODIFY
WalletWasabi.Gui/Icons/Icons.xaml
WalletWasabi.Gui/Icons/Icons.xaml
<GeometryDrawing Brush="#FF414141" Geometry="F1M9,9L8,9 8,10 9,10z M9,8.5L8,8.5 8,8C8,7.449,8.449,7,9,7L9,6C8.92,5.956 8.748,5.898 8.5,5.898 8.252,5.898 8.08,5.956 8,6L8,7 7,7 7,6C7,5.42 7.631,5 8.5,5 9.369,5 10,5.42 10,6L10,7C10,7.551,9.551,8,9,8z" />
</DrawingGroup.Children>
</DrawingGroup>
+ <DrawingGroup x:Key="Documentation">
+ <DrawingGroup.Children>
+ <GeometryDrawing Brush="#FFF6F6F6" Geometry="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z" />
+ </DrawingGroup.Children>
+ </DrawingGroup>
<DrawingGroup x:Key="PrivacyPolicy">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />

MODIFY
WalletWasabi.Gui/Shell/Commands/HelpCommands.cs
WalletWasabi.Gui/Shell/Commands/HelpCommands.cs
@@ -78,6 +78,22 @@ namespace WalletWasabi.Gui.Shell.Commands
}
}));
+ DocsCommand = new CommandDefinition(
+ "Documentation",
+ commandIconService.GetCompletionKindImage("Documentation"),
+ ReactiveCommand.Create(() =>
+ {
+ try
+ {
+ IoHelpers.OpenBrowser("https://docs.wasabiwallet.io/");
+ }
+ catch (Exception ex)
+ {
+ Logging.Logger.LogWarning<HelpCommands>(ex);
+ IoC.Get<IShell>().AddOrSelectDocument(() => new AboutViewModel(Global));
+ }
+ }));
+
PrivacyPolicyCommand = new CommandDefinition(
"Privacy Policy",
commandIconService.GetCompletionKindImage("PrivacyPolicy"),
@@ -138,6 +154,9 @@ namespace WalletWasabi.Gui.Shell.Commands
[ExportCommandDefinition("Help.Faq")]
public CommandDefinition FaqCommand { get; }
+ [ExportCommandDefinition("Help.Documentation")]
+ public CommandDefinition DocsCommand { get; }
+
[ExportCommandDefinition("Help.PrivacyPolicy")]
public CommandDefinition PrivacyPolicyCommand { get; }

MODIFY
WalletWasabi.Gui/Shell/MainMenu/HelpMainMenuItems.cs
WalletWasabi.Gui/Shell/MainMenu/HelpMainMenuItems.cs
@@ -72,18 +72,23 @@ namespace WalletWasabi.Gui.Shell.MainMenu
[DefaultGroup("Support")]
public IMenuItem Faq => MenuItemFactory.CreateCommandMenuItem("Help.Faq");
- [ExportMainMenuItem("Help", "Privacy Policy")]
+ [ExportMainMenuItem("Help", "Documentation")]
[DefaultOrder(5)]
+ [DefaultGroup("Support")]
+ public IMenuItem Docs => MenuItemFactory.CreateCommandMenuItem("Help.Documentation");
+
+ [ExportMainMenuItem("Help", "Privacy Policy")]
+ [DefaultOrder(6)]
[DefaultGroup("Legal")]
public IMenuItem PrivacyPolicy => MenuItemFactory.CreateCommandMenuItem("Help.PrivacyPolicy");
[ExportMainMenuItem("Help", "Terms And Conditions")]
- [DefaultOrder(6)]
+ [DefaultOrder(7)]
[DefaultGroup("Legal")]
public IMenuItem TermsAndConditions => MenuItemFactory.CreateCommandMenuItem("Help.TermsAndConditions");
[ExportMainMenuItem("Help", "Legal Issues")]
- [DefaultOrder(7)]
+ [DefaultOrder(8)]
[DefaultGroup("Legal")]
public IMenuItem LegalIssues => MenuItemFactory.CreateCommandMenuItem("Help.LegalIssues");

MODIFY
WalletWasabi.Gui/Tabs/AboutView.xaml
WalletWasabi.Gui/Tabs/AboutView.xaml
<TextBlock Text="FAQ: " />
<Button Content="{Binding FAQLink}" Classes="activeHyperLink" Command="{Binding OpenBrowserCommand}" CommandParameter="{Binding FAQLink}" />
</StackPanel>
+ <StackPanel Orientation="Horizontal">
+ <TextBlock Text="Documentation: " />
+ <Button Content="{Binding DocsLink}" Classes="activeHyperLink" Command="{Binding OpenBrowserCommand}" CommandParameter="{Binding DocsLink}" />
+ </StackPanel>
</StackPanel>
</Grid>
</StackPanel>

MODIFY
WalletWasabi.Gui/Tabs/AboutViewModel.cs
WalletWasabi.Gui/Tabs/AboutViewModel.cs
@@ -49,5 +49,7 @@ namespace WalletWasabi.Gui.Tabs
public string BugReportLink => "https://github.com/zkSNACKs/WalletWasabi/issues/";
public string FAQLink => "https://github.com/zkSNACKs/WalletWasabi/blob/master/WalletWasabi.Documentation/FAQ.md";
+
+ public string DocsLink => "https://docs.wasabiwallet.io/";
}
}

Documentation site link added to about page and help menu