LithoSharp.ProjectTemplates
3.0.0
See the version list below for details.
dotnet new install LithoSharp.ProjectTemplates@3.0.0
LithoSharp project templates
Start documentation managed with C# types and builds. The 3.0.0
docs template connects a custom schema, generated binder/catalog and typed
references to Docs navigation and explicit output quality checks.
Install the matching template package with dotnet new install LithoSharp.ProjectTemplates::3.0.0
and create a site with dotnet new lithosharp-docs, dotnet new lithosharp-blog,
dotnet new lithosharp-empty, or dotnet new lithosharp-mdx.
dotnet new lithosharp-docs -n MyDocs -o MyDocs
dotnet tool install LithoSharp.Tool --version 3.0.0 --tool-path .tools
.tools/lithosharp build MyDocs
.tools/lithosharp serve MyDocs
The CLI package is separate from the templates. docs starts a documentation
site, blog uses the Blog template, empty demonstrates a custom C# layout, and
mdx adds the optional MDX worker setup. Generated projects export an
ISiteFactory that the CLI compiles and runs as trusted site code.
Templates target .NET 10 and use LithoSharp 3.0.0 by default. MDX additionally requires Node.js 24.13.0 and explicit worker restore. See the Quick Start for build, serve and interactive component examples.
For an end-to-end typed-content example with compiler diagnostics and generated output checks, see the Docs sample.
The Docs project includes GuideFrontMatter.cs (required title, optional description
and order), Guides.Binder, generated routes and two valid Markdown pages.
AdditionalFiles and runtime loading share the content root, nested relative
IDs with extensions, and underscore-prefixed exclusions through Guides.Catalog.
The loader reports added, missing or moved inputs until the catalog is rebuilt
from the same declaration. RenderDocs supplies
the shared Docs shell; the template alone owns index.html. Quality fails on
Error with external HTTP disabled, in both the CLI and generated Program.
Existing projects opt in through the migration guide,
not by regenerating over their files.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0 | 98 | 11/20/2026 |
| 3.1.0 | 100 | 11/17/2026 |
| 3.0.0 | 99 | 11/16/2026 |
| 2.2.0 | 118 | 11/9/2026 |
| 2.1.3 | 112 | 11/7/2026 |
| 2.1.2 | 133 | 10/31/2026 |
| 2.1.1 | 120 | 10/29/2026 |
| 2.1.0 | 124 | 10/28/2026 |
| 2.0.1 | 126 | 10/25/2026 |
| 2.0.0 | 152 | 10/17/2026 |
| 1.1.0 | 149 | 10/7/2026 |
| 1.0.0 | 190 | 9/15/2026 |
| 0.3.1 | 202 | 9/9/2026 |
| 0.3.0 | 202 | 9/8/2026 |