Skip to main content
net8.0net9.0net10.0

The core documentation generation engine for DotNetDocs that transforms .NET assemblies and XML Doc Comments into rich, multi-format documentation.

Published
Nov 6, 2025
11mo ago
Total Downloads
14.5K
14,515

Install

dotnet add package DotNetDocs.Core --version 1.1.0-preview.6
ProductVersions
.NET
net10.0net8.0net9.0

README

DotNetDocs.Core

NuGet Downloads License

The core documentation generation engine for DotNetDocs that transforms .NET assemblies and XML Doc Comments into rich, multi-format documentation.

Features

  • Assembly Extraction: Leverages Roslyn to extract API metadata from compiled assemblies
  • XML Documentation Processing: Parses and integrates XML documentation comments
  • Conceptual Documentation: Enriches API docs with conceptual content from .mdz files
  • Extensible Pipeline: Modular architecture with enrichers, transformers, and renderers
  • Multi-Assembly Support: Merge documentation from multiple assemblies
  • Multiple Output Formats: Built-in renderers for Markdown, JSON, and YAML

Installation

dotnet add package DotNetDocs.Core

Quick Start

using CloudNimble.DotNetDocs.Core;
using CloudNimble.DotNetDocs.Core.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

var host = Host.CreateDefaultBuilder()
    .ConfigureServices((context, services) =>
    {
        services.AddDotNetDocs(ctx =>
        {
            ctx.DocumentationRootPath = "docs";
            ctx.ApiReferencePath = "api-reference";
        });
    })
    .Build();

using (var scope = host.Services.CreateScope())
{
    var manager = scope.ServiceProvider.GetRequiredService<DocumentationManager>();
    await manager.ProcessAsync("MyLibrary.dll", "MyLibrary.xml");
}

See Also

Requirements

  • .NET 8.0+, .NET 9.0+, or .NET 10.0+

License

MIT License - see LICENSE for details.

Changes from Previous Version

No structural changes between v1.1.0-preview.5 and v1.1.0-preview.6.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.The published metadata declares 19 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.