Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidVollmers committed Jul 1, 2024
1 parent 5a70e1f commit 7d13d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Doki.Output.Markdown/MarkdownOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public async Task WriteAsync(TypeDocumentation typeDocumentation, CancellationTo
{
ArgumentNullException.ThrowIfNull(typeDocumentation);

var currentPath = typeDocumentation.GetPath() + ".md";
var currentPath = typeDocumentation.GetPath();

var typeDocumentationFile =
new FileInfo(Path.Combine(options.OutputDirectory.FullName, currentPath, "README.md"));
Expand Down Expand Up @@ -210,7 +210,7 @@ private static IEnumerable<Element> BuildInheritanceChain(MarkdownBuilder markdo
var heading = new Heading(name, 1);
if (documentationObject.ContentType == DocumentationContentType.Namespace) heading.Append(" Namespace");

var markdown = new MarkdownBuilder(documentationObject.GetPath()).Add(heading);
var markdown = new MarkdownBuilder(currentPath).Add(heading);

if (description != null)
{
Expand Down

0 comments on commit 7d13d8f

Please sign in to comment.