Welcome to Kampose

Kampose /kam-pohz/ is a cross-platform command-line documentation composer for .NET projects that transforms XML comments and assembly metadata into professional API documentation. Built with an extensible architecture and powered by Handlebars templating, Kampose enables development teams to maintain high-quality documentation as part of their continuous integration workflows.

Overview

Kampose automates API documentation generation from XML documentation comments, eliminating manual documentation maintenance. Whether building libraries, frameworks, or internal APIs, Kampose creates professional documentation that integrates seamlessly with modern development workflows.

Key Capabilities

Getting Started

Installation

Install Kampose as a .NET Global Tool:

dotnet tool install --global kampose

To update to the latest version, run:

dotnet tool update --global kampose

Basic Usage

Follow these simple steps to generate your first API documentation with Kampose.

Step 1: Enable XML documentation generation in your project file:

<PropertyGroup>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Step 2: Create a configuration file (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

For detailed usage instructions and examples, see the Command-Line Interface guide.

Guide to This Documentation

This guide organizes Kampose's documentation into key areas to help you navigate and find the information you need efficiently.

Getting Started

Integration and Automation

Writing Documentation

Customizing Output

Support and Community

Kampose is an open-source project released under the MIT License. Contributions, bug reports, and feature requests are welcome.

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.