From 15095361ddc31aa38d8b22075ee45260569c4db6 Mon Sep 17 00:00:00 2001
From: Holger Schmidt
Date: Tue, 12 Nov 2024 23:19:38 +0100
Subject: [PATCH] swapped out icon to brand diagrammers as an ILSpy product
reusing linked ..\ILSpy\Images\ILSpy.ico from UI project
---
ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj | 1 +
ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs | 2 +-
ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html | 6 +++---
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj b/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj
index 3e83e0a0c..76a7b3504 100644
--- a/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj
+++ b/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj
@@ -75,6 +75,7 @@
+
diff --git a/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs b/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs
index 9c1fb5540..a288b1783 100644
--- a/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs
+++ b/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs
@@ -117,7 +117,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer
File.WriteAllText(Path.Combine(outputFolder, "class-diagrammer.html"), html);
// copy required resources to output folder while flattening paths if required
- foreach (var resource in new[] { "styles.css", "netAmermaid.ico", "script.js" })
+ foreach (var resource in new[] { "styles.css", "ILSpy.ico", "script.js" })
EmbeddedResource.CopyTo(outputFolder, resource);
Console.WriteLine("Successfully generated HTML diagrammer.");
diff --git a/ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html b/ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html
index fbfe799af..3315cfb85 100644
--- a/ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html
+++ b/ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html
@@ -3,7 +3,7 @@
{{SourceAssemblyName}} class diagrammer - netAmermaid
-
+
@@ -66,7 +66,7 @@
Get a hint for elements with helping tooltips using [Alt + i].
Alternatively, find helpful links to the docs and discussions in the
- build info âĒ
+ build info âĒ
If you find this helpful and want to share your đē screen and đ wisdom on how it works
with a đĻ newcomer, try toggling presentation mode using [Ctrl + i].
@@ -180,7 +180,7 @@
đŠī¸
-
+