Updated Website to reflect all libraries

This commit is contained in:
2025-12-09 23:35:27 +00:00
parent c8f071c350
commit d4e41c9747
10 changed files with 320 additions and 69 deletions
@@ -1,8 +1,10 @@
using System;
using NetFlow.DocumentationHelper.Library.Attributes;
namespace OmegaLeo.HelperLib.Changelog.Attributes
{
[Changelog("v1.0.0", "Created ChangelogAttribute to be used to register changes in the code.")]
[Documentation(nameof(ChangelogAttribute), "Attribute to annotate classes, methods, or properties with changelog information.")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)]
public class ChangelogAttribute : Attribute
{
@@ -18,4 +18,10 @@
<None Include="LICENSE.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<ItemGroup>
<Reference Include="NetFlow.DocumentationHelper.Library">
<HintPath>..\..\..\..\..\..\home\omegaleo\.nuget\packages\netflow.documentationhelper.library\1.1.2\lib\netstandard2.1\NetFlow.DocumentationHelper.Library.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
@@ -2,13 +2,16 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using NetFlow.DocumentationHelper.Library.Attributes;
using OmegaLeo.HelperLib.Changelog.Attributes;
namespace OmegaLeo.HelperLib.Changelog.Tools
{
[Changelog("v1.0.0", "Created the class ChangelogTool to extract changelogs via attributes")]
[Documentation("ChangelogTool", "Provides methods to extract changelog information from assembly attributes.")]
public class ChangelogTool
{
[Documentation("ChangelogTool.ExtractChangelog", "Extracts changelog entries from the specified assembly.")]
public static Dictionary<string, List<Models.Changelog>> ExtractChangelog(Assembly assembly)
{
var changelogByVersion = new Dictionary<string, List<Models.Changelog>>();
@@ -32,6 +35,7 @@ namespace OmegaLeo.HelperLib.Changelog.Tools
return changelogByVersion;
}
[Documentation("ChangelogTool.GetMarkdown", "Generates a markdown formatted changelog from the assembly's changelog attributes.")]
public static string GetMarkdown(Assembly assembly)
{
var changelog = ExtractChangelog(assembly);