Skip to content

Commit fb6f433

Browse files
Fix full.md generation
The change is focusing on fixing the documentation generation problem in the Program.cs file. Previously, the code was appending version information to the wrong StringBuilder (indexContent), which didn't contribute to the actual content of the full change log. Now the correct StringBuilder (fullContent) is used ensuring that version-wise documentation is included correctly in the 'full.md' changelog.
1 parent 6d005a9 commit fb6f433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ public override void Run(BuildContext context)
504504
fullContent.AppendLine("# Full ChangeLog");
505505
fullContent.AppendLine("");
506506
foreach (var version in DocumentationHelper.BdnAllVersions.Reverse())
507-
indexContent.AppendLine($"[!include[{version}]({version}.md)]");
507+
fullContent.AppendLine($"[!include[{version}]({version}.md)]");
508508
context.FileWriteText(context.ChangeLogDirectory.CombineWithFilePath("full.md"), fullContent.ToString());
509509

510510
context.Information("DocfxChangelogGenerate: toc.yml");

0 commit comments

Comments
 (0)