Moka.Docs.Engine 1.4.0

dotnet add package Moka.Docs.Engine --version 1.4.0
                    
NuGet\Install-Package Moka.Docs.Engine -Version 1.4.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="Moka.Docs.Engine" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moka.Docs.Engine" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Moka.Docs.Engine" />
                    
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 Moka.Docs.Engine --version 1.4.0
                    
#r "nuget: Moka.Docs.Engine, 1.4.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 Moka.Docs.Engine@1.4.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=Moka.Docs.Engine&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Moka.Docs.Engine&version=1.4.0
                    
Install as a Cake Tool

MokaDocs

The modern documentation site generator built for .NET libraries.

Point MokaDocs at your .csproj and docs/ folder — it auto-discovers your API surface, parses XML docs, and generates a complete documentation site.

.NET 9/10 MIT License Tests NuGet

Quick Start

dotnet tool install -g mokadocs
mokadocs init
mokadocs serve

Features

  • C# API Reference — Auto-generated from assemblies with full type info, XML comments, and <inheritdoc/> support
  • Markdown Guides — Admonitions, tabs, code groups, task lists, footnotes, and more
  • Interactive REPL — Run C# code directly in the browser (Roslyn-powered)
  • Full-Text Search — Client-side instant search with Ctrl+K / Cmd+K
  • 5 Color Themes — Ocean, Emerald, Violet, Amber, Rose with live switcher
  • 7 Code Themes — Catppuccin, GitHub, Dracula, One Dark, Nord
  • Dark/Light Mode — Auto-detects system preference
  • Hot Reload — File watcher + WebSocket for instant preview
  • Versioning — Multi-version docs with dropdown selector
  • ASP.NET Core Integration — Embed docs directly in your web app

ASP.NET Core Integration

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddMokaDocs(options =>
{
    options.Title = "My API Docs";
    options.Assemblies = [typeof(MyService).Assembly];
});

var app = builder.Build();
app.MapMokaDocs("/docs");
app.Run();

Configuration

site:
  title: "My Library"
  description: "Documentation for My Library"

content:
  docs: ./docs
  projects:
    - path: ./src/MyLibrary/MyLibrary.csproj

theme:
  options:
    primaryColor: "#0ea5e9"
    codeTheme: catppuccin-mocha
    codeStyle: macos

plugins:
  - name: mokadocs-repl
  - name: mokadocs-changelog

Packages

Package Description
Moka.Docs.Core Core models, configuration, and interfaces
Moka.Docs.CLI Command-line tool (mokadocs)
Moka.Docs.Engine Build pipeline and phase orchestration
Moka.Docs.Parsing Markdown parsing with custom extensions
Moka.Docs.CSharp Roslyn-based C# API analysis
Moka.Docs.Rendering Scriban template engine
Moka.Docs.Themes Theme system and default theme
Moka.Docs.Plugins Plugin system (REPL, Blazor, OpenAPI, Changelog)
Moka.Docs.Serve Dev server with hot reload
Moka.Docs.AspNetCore ASP.NET Core middleware integration
Moka.Docs.Search Client-side search index generation
Moka.Docs.Versioning Multi-version documentation support
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Moka.Docs.Engine:

Package Downloads
Moka.Docs.Serve

Local dev server with hot-reload for MokaDocs.

Moka.Docs.Plugins

Plugin host, built-in plugins, and plugin abstractions for MokaDocs.

Moka.Docs.AspNetCore

ASP.NET Core integration for MokaDocs — embed documentation in your web app with two lines of code.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 0 4/9/2026
1.3.8 37 4/8/2026
1.3.7 40 4/8/2026
1.3.6 38 4/8/2026
1.3.5 35 4/8/2026
1.3.1 36 4/8/2026
1.3.0 42 4/8/2026
1.2.3 49 4/6/2026
1.2.2 54 4/6/2026
1.2.0 53 4/6/2026
1.1.2 78 4/6/2026
1.1.1 76 4/6/2026
1.1.0 84 4/6/2026
1.0.7 116 3/27/2026
1.0.6 114 3/27/2026
1.0.5 115 3/27/2026
1.0.4 122 3/27/2026
1.0.3 106 3/26/2026
1.0.2 110 3/25/2026
1.0.1 112 3/25/2026
Loading failed