Atc.CodeDocumentation
3.0.174
dotnet add package Atc.CodeDocumentation --version 3.0.174
NuGet\Install-Package Atc.CodeDocumentation -Version 3.0.174
<PackageReference Include="Atc.CodeDocumentation" Version="3.0.174" />
<PackageVersion Include="Atc.CodeDocumentation" Version="3.0.174" />
<PackageReference Include="Atc.CodeDocumentation" />
paket add Atc.CodeDocumentation --version 3.0.174
#r "nuget: Atc.CodeDocumentation, 3.0.174"
#:package Atc.CodeDocumentation@3.0.174
#addin nuget:?package=Atc.CodeDocumentation&version=3.0.174
#tool nuget:?package=Atc.CodeDocumentation&version=3.0.174
Atc.CodeDocumentation
Target Framework: net9.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 Framework
- .NET 9.0
Key Features
MarkdownCodeDocGeneratorfor 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 9
- 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
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
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 |
|---|---|---|
| 3.0.174 | 50 | 6/24/2026 |
| 3.0.173 | 42 | 6/24/2026 |
| 3.0.172 | 49 | 6/24/2026 |
| 3.0.67 | 263 | 4/25/2026 |
| 3.0.46 | 150 | 4/15/2026 |
| 3.0.45 | 135 | 4/10/2026 |
| 3.0.44 | 125 | 4/9/2026 |
| 3.0.43 | 132 | 4/9/2026 |
| 3.0.41 | 125 | 4/9/2026 |
| 3.0.40 | 133 | 4/9/2026 |
| 3.0.18 | 908 | 2/9/2026 |
| 3.0.16 | 707 | 12/15/2025 |
| 3.0.12 | 286 | 11/28/2025 |
| 3.0.9 | 431 | 11/21/2025 |
| 3.0.8 | 344 | 11/14/2025 |
| 3.0.4 | 311 | 11/6/2025 |
| 2.0.562 | 467 | 9/4/2025 |
| 2.0.561 | 312 | 9/4/2025 |
| 2.0.560 | 312 | 9/3/2025 |
| 2.0.558 | 281 | 8/22/2025 |