Kampose 0.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Kampose --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Kampose --version 0.4.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Kampose&version=0.4.0
                    
nuke :add-package Kampose --version 0.4.0
                    

Kampose

Kampose is a cross-platform .NET command-line tool that transforms XML documentation comments into professional API documentation. It generates production-ready, standards-compliant HTML or Markdown documentation with minimal configuration and integrates seamlessly with CI/CD pipelines.

Kampose includes comprehensive auditing capabilities to ensure documentation quality, validating XML documentation completeness, verifying external links, and enforcing customizable quality standards that can halt builds on issues in CI/CD pipelines.

Kampose targets .NET 10.0 and fully supports C# 14 while remaining compatible with earlier .NET and C# versions.

Key Features

  • Zero Configuration Start - Works out of the box with sensible defaults
  • Multiple Output Formats - HTML for websites, Markdown for wikis
  • CI/CD Ready - Integrate seamlessly into your build pipelines
  • Extensible Themes - Customize appearance to match your brand
  • Quality Enforcement - Audit documentation completeness and correctness
  • Topic Integration - Combine API docs with guides and tutorials

Common Use Cases

API Library Documentation

Generate comprehensive reference documentation for libraries and SDKs with detailed member information, inheritance hierarchies, and code examples. Kampose automatically organizes documentation by namespace and type.

Framework Documentation

Document complex frameworks with multiple assemblies and extensive type hierarchies. Kampose's support for multiple assemblies enables unified documentation generation across entire ecosystems.

Project Documentation Sites

Create complete documentation sites combining API reference with conceptual content, tutorials, and guides. Kampose processes Markdown topics alongside API documentation.

Topic-Only Documentation

Generate documentation sites from Markdown files without assemblies, useful for user guides, tutorials, or project documentation without API references.

Continuous Documentation

Integrate documentation generation into CI/CD pipelines to keep documentation synchronized with code changes, eliminating manual maintenance and reducing documentation drift.

Installation

dotnet tool install --global kampose

Quick Start

Step 1: Enable XML documentation in your project:

<GenerateDocumentationFile>true</GenerateDocumentationFile>

Step 2: Create kampose.json in your project root:

{
    "convention": "dotNet",
    "outputDirectory": "docs",
    "assemblies": ["bin/Release/**/*.dll"],
    "theme": "classic"
}

For more configuration options and examples, refer to the Configuration guide.

Step 3: Build your project and generate documentation:

dotnet build -c Release
kampose build

See the Command-Line Interface guide for additional commands and options.

Step 4: Open docs/index.html in your browser to view the generated documentation.

Documentation

Please visit the official documentation site for detailed guides and references:

For technical details on the core DocToolkit library, see the DocToolkit documentation.

Contributing

Contributions are welcome! Submit issues or pull requests on GitHub.

License

MIT License - see LICENSE for details.

Acknowledgments

Kampose is built on outstanding open-source projects maintained by the .NET and broader development community:

The dedication and expertise of these project maintainers and contributors make Kampose possible. Thank you to everyone who contributes to the open-source ecosystem.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.4.1 129 1/27/2026
0.4.0 102 1/25/2026
0.3.0 192 12/25/2025
0.2.0 161 12/20/2025
0.1.3 328 11/16/2025
0.1.2 227 11/9/2025
0.1.0 174 11/8/2025

For detailed release notes, please visit https://github.com/kampute/kampose/releases