Atc.CodeDocumentation 4.1.0

dotnet add package Atc.CodeDocumentation --version 4.1.0
                    
NuGet\Install-Package Atc.CodeDocumentation -Version 4.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Atc.CodeDocumentation" Version="4.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Atc.CodeDocumentation" Version="4.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Atc.CodeDocumentation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Atc.CodeDocumentation --version 4.1.0
                    
#r "nuget: Atc.CodeDocumentation, 4.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Atc.CodeDocumentation@4.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Atc.CodeDocumentation&version=4.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Atc.CodeDocumentation&version=4.1.0
                    
Install as a Cake Tool

Atc.CodeDocumentation

Target Frameworks: netstandard2.0, net10.0

Markdown documentation generator for .NET assemblies. Automatically generates comprehensive API documentation in Markdown format from assembly reflection and XML documentation comments.

Why Use This Library?

Maintaining up-to-date API documentation is challenging and time-consuming. Atc.CodeDocumentation automates this process by:

  • Generating Markdown Documentation: Creates Markdown files from assemblies
  • XML Documentation Integration: Combines reflection with XML documentation comments
  • Automated Updates: Generate docs as part of your build/test process
  • GitHub-Ready: Output is optimized for GitHub documentation
  • Type Discovery: Documents all public types, methods, properties, and more
  • Organized Output: Creates structured index and reference files

Perfect for:

  • Open source projects requiring API documentation
  • Libraries shared across teams
  • Maintaining docs in sync with code
  • Generating documentation for NuGet packages
  • Creating developer-friendly API references

Installation

dotnet add package Atc.CodeDocumentation

Target Frameworks

  • .NET Standard 2.0 (usable from source generators and analyzers)
  • .NET 10.0

Key Features

  • MarkdownCodeDocGenerator for generating documentation
  • Support for classes, interfaces, enums, structs, and delegates
  • Documentation of methods, properties, fields, and events
  • XML comment extraction and formatting
  • Index file generation with type listings
  • Extended reference documentation
  • Customizable output directory structure

Requirements

  • .NET 10
  • XML documentation file generated during build

Key Dependencies

  • Atc (foundation library)

Main Components

MarkdownCodeDocGenerator

The primary class for generating documentation:

  • Run(Assembly, DirectoryInfo): Generates documentation for an assembly

Code documentation

References

References extended

Using Run(..) to generate code documentation in markdown files

The following example will show how to run from a unit-test, to ensure updated CodeDoc folder with Markdown files generated with MarkdownCodeDocGenerator.Run.

public class CodeDocumentationTests
{
    [Fact]
    [SuppressMessage("Blocker Code Smell", "S2699:Tests should include assertions", Justification = "OK. This \"Test\" generates our Markdown files.")]
    public void RunMarkdownCodeDocGenerator()
    {
        // Arrange
        var sourceAssembly = typeof(AtcAssemblyTypeInitializer).Assembly;
        var codeDocDirectory = new DirectoryInfo(@"c:\code\myproject\CodeDoc");

        // Act
        MarkdownCodeDocGenerator.Run(sourceAssembly, codeDocDirectory);
    }
}

Contributing

Contributions are welcome! Please see the main repository README for contribution guidelines.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • Atc (>= 4.1.0)
  • net10.0

    • Atc (>= 4.1.0)

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Atc.CodeDocumentation:

Package Downloads
Atc.XUnit

Atc.XUnit is a collection of helper method for code compliance of documentation and tests.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.1.0 83 11/9/2026
4.0.0 545 10/19/2026
3.0.186 687 8/25/2026
3.0.185 148 8/25/2026
3.0.181 243 7/29/2026
3.0.174 259 6/24/2026
3.0.173 164 6/24/2026
3.0.172 171 6/24/2026
3.0.67 331 4/25/2026
3.0.46 188 4/15/2026
3.0.45 173 4/10/2026
3.0.44 167 4/9/2026
3.0.43 173 4/9/2026
3.0.41 166 4/9/2026
3.0.40 174 4/9/2026
3.0.18 973 2/9/2026
3.0.16 1,037 12/15/2025
3.0.12 327 11/28/2025
3.0.9 464 11/21/2025
3.0.8 378 11/14/2025
Loading failed