Pennington.UI
0.1.0-alpha.0.294
See the version list below for details.
dotnet add package Pennington.UI --version 0.1.0-alpha.0.294
NuGet\Install-Package Pennington.UI -Version 0.1.0-alpha.0.294
<PackageReference Include="Pennington.UI" Version="0.1.0-alpha.0.294" />
<PackageVersion Include="Pennington.UI" Version="0.1.0-alpha.0.294" />
<PackageReference Include="Pennington.UI" />
paket add Pennington.UI --version 0.1.0-alpha.0.294
#r "nuget: Pennington.UI, 0.1.0-alpha.0.294"
#:package Pennington.UI@0.1.0-alpha.0.294
#addin nuget:?package=Pennington.UI&version=0.1.0-alpha.0.294&prerelease
#tool nuget:?package=Pennington.UI&version=0.1.0-alpha.0.294&prerelease
Pennington
A content engine for .NET that turns Markdown into static sites, documentation portals, and blogs.
Features
- Markdown processing with front matter, syntax highlighting, tabbed content, and GitHub-style alerts
- Static site generation with automatic navigation and sitemaps (RSS feeds ship with the DocSite blog folder and the BlogSite template)
- Razor component library for navigation trees, code blocks, badges, and cards
- Utility-first CSS via MonorailCSS integration
- Documentation site template with built-in layouts, search, and content areas
- Blog site template for content-driven blogs
Mental model
Pennington is an ASP.NET content engine. In development it serves your site as a normal web app; in build mode it crawls that same app in process and writes the responses as static files.
There are three entry points:
| Package | Use it when |
|---|---|
Pennington.DocSite |
You want a documentation site with sidebar navigation, search, styling, and static output wired for you. |
Pennington.BlogSite |
You want a content-driven blog as the whole site. |
Pennington |
You want the lower-level engine and will bring your own layout, routing, and styling. |
Most documentation projects should start with Pennington.DocSite. Drop down to Pennington when the template shape no longer fits.
Installation
Pennington currently targets .NET 11 and uses preview C# language features.
For the DocSite quick start:
dotnet add package Pennington.DocSite
Additional packages for specific features:
dotnet add package Pennington # Core content engine
dotnet add package Pennington.UI # Razor components
dotnet add package Pennington.MonorailCss # Utility-first CSS
dotnet add package Pennington.BlogSite # Blog site template
Quick Start
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddDocSite(() => new DocSiteOptions
{
SiteTitle = "My Docs",
Description = "Project documentation",
});
var app = builder.Build();
app.UseDocSite();
await app.RunDocSiteAsync(args);
Add Markdown files to a Content/ directory with YAML front matter:
---
title: Getting Started
order: 1
---
# Welcome
Your documentation content goes here.
Build a static site with:
dotnet run -- build
License
MIT
| Product | Versions 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. net11.0 is compatible. |
-
net10.0
- DeweySearch.Web (>= 0.1.1)
- Microsoft.AspNetCore.Components.Web (>= 10.0.8)
- Pennington (>= 0.1.0-alpha.0.294)
-
net11.0
- DeweySearch.Web (>= 0.1.1)
- Microsoft.AspNetCore.Components.Web (>= 10.0.8)
- Pennington (>= 0.1.0-alpha.0.294)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Pennington.UI:
| Package | Downloads |
|---|---|
|
Pennington.DocSite
Documentation site template for Pennington with layouts, pages, and content resolution |
|
|
Pennington.BlogSite
Blog site template for Pennington |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.0.296 | 0 | 6/9/2026 |
| 0.1.0-alpha.0.295 | 0 | 6/9/2026 |
| 0.1.0-alpha.0.294 | 0 | 6/8/2026 |
| 0.1.0-alpha.0.292 | 0 | 6/8/2026 |
| 0.1.0-alpha.0.291 | 36 | 6/7/2026 |
| 0.1.0-alpha.0.290 | 38 | 6/6/2026 |
| 0.1.0-alpha.0.289 | 44 | 6/5/2026 |
| 0.1.0-alpha.0.288 | 40 | 6/5/2026 |
| 0.1.0-alpha.0.287 | 37 | 6/5/2026 |
| 0.1.0-alpha.0.286 | 39 | 6/4/2026 |
| 0.1.0-alpha.0.285 | 40 | 6/4/2026 |
| 0.1.0-alpha.0.282 | 36 | 6/3/2026 |
| 0.1.0-alpha.0.281 | 35 | 6/3/2026 |
| 0.1.0-alpha.0.280 | 39 | 6/3/2026 |
| 0.1.0-alpha.0.279 | 38 | 6/3/2026 |
| 0.1.0-alpha.0.278 | 37 | 6/2/2026 |
| 0.1.0-alpha.0.277 | 41 | 6/2/2026 |
| 0.1.0-alpha.0.276 | 43 | 6/2/2026 |
| 0.1.0-alpha.0.275 | 46 | 6/2/2026 |
| 0.0.1 | 123 | 4/10/2026 |