Skip to content

Commit

Permalink
renamed diagrammer output to index.html
Browse files Browse the repository at this point in the history
to support default web server configs in the wild
  • Loading branch information
h0lg committed Nov 12, 2024
1 parent 7c11bbd commit 3034dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private void GenerateOutput(string assemblyPath, ClassDiagrammer model)
.Replace("{{RepoUrl}}", RepoUrl)
.Replace("{{Model}}", modelJson);

File.WriteAllText(Path.Combine(outputFolder, "class-diagrammer.html"), html);
File.WriteAllText(Path.Combine(outputFolder, "index.html"), html);

// copy required resources to output folder while flattening paths if required
foreach (var resource in new[] { "styles.css", "netAmermaid.ico", "script.js" })
Expand Down

0 comments on commit 3034dc8

Please sign in to comment.