Skip to content

Commit

Permalink
edited releasenotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraku committed Jun 12, 2022
1 parent df39abe commit 2fb847a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions documentation/NEXT_RELEASENOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Bug fixes

- fixed cmd usage with default markdown plugin loading (#109 thanks to @aremes)
6 changes: 1 addition & 5 deletions source/DefaultDocumentation.Common/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,11 @@ void AddSetting<TSetting, TConfig>(Expression<Func<IRawSettings, TSetting>> prop
_context = new GeneralContext(
_configuration,
new[] { typeof(Markdown.Writers.MarkdownWriter).Assembly }
.Concat(
(GetSetting<string[]>(nameof(settings.Plugins)) ?? Enumerable.Empty<string>())
.Select(Assembly.LoadFrom)
)
.Concat((GetSetting<string[]>(nameof(settings.Plugins)) ?? Enumerable.Empty<string>()).Select(Assembly.LoadFrom))
.SelectMany(a => a.GetTypes())
.ToArray(),
resolvedSettings,
DocItemReader.GetItems(resolvedSettings));

}

private void WritePage(DocItem item, StringBuilder builder)
Expand Down

0 comments on commit 2fb847a

Please sign in to comment.