Browse Source

swapped out icon to brand diagrammers as an ILSpy product

reusing linked ..\ILSpy\Images\ILSpy.ico from UI project
pull/3324/head
Holger Schmidt 7 months ago
parent
commit
15095361dd
  1. 1
      ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj
  2. 2
      ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs
  3. 6
      ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html

1
ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj

@ -75,6 +75,7 @@ @@ -75,6 +75,7 @@
<None Remove="MermaidDiagrammer\html\package-lock.json" />
<None Remove="MermaidDiagrammer\html\package.json" />
<None Remove="MermaidDiagrammer\html\styles.less" />
<EmbeddedResource Include="..\ILSpy\Images\ILSpy.ico" Link="MermaidDiagrammer\html\ILSpy.ico" />
<EmbeddedResource Include="MermaidDiagrammer\html\script.js" />
<EmbeddedResource Include="MermaidDiagrammer\html\styles.css" />
<EmbeddedResource Include="MermaidDiagrammer\html\template.html" />

2
ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs

@ -117,7 +117,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer @@ -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.");

6
ICSharpCode.ILSpyX/MermaidDiagrammer/html/template.html

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>{{SourceAssemblyName}} class diagrammer - netAmermaid</title>
<link rel="icon" type="image/x-icon" href="netAmermaid.ico" />
<link rel="icon" type="image/x-icon" href="ILSpy.ico" />
<link rel="stylesheet" href="styles.css" type="text/css" />
<style id="filter-width"></style>
</head>
@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
Get a hint for elements with helping tooltips using [Alt + i].
</p>
<p>Alternatively, find helpful links to the docs and discussions in the
<a href="#build-info" class="toggle">build info <img src="netAmermaid.ico" /></a></p>
<a href="#build-info" class="toggle">build info <img src="ILSpy.ico" /></a></p>
<p>If you find this helpful and want to share your 📺 screen and 🎓 wisdom on how it works
with a 🦗 newcomer, try toggling <b>presentation mode</b> using [Ctrl + i].</p>
</div>
@ -180,7 +180,7 @@ @@ -180,7 +180,7 @@
<a target="_blank" href="{{RepoUrl}}/releases/latest" title="☄ download the latest bits to 🌊 generate better diagrammers">🌩</a>
</span>
</div>
<img data-toggles="#build-info" src="netAmermaid.ico" />
<img data-toggles="#build-info" src="ILSpy.ico" />
</div>
</div>

Loading…
Cancel
Save