Source for shelldocs.shellui.dev — the official documentation site for ShellDocs, the docs framework for .NET.
This repo IS a ShellDocs site — a Blazor Web App consuming the published ShellDocs.* NuGet packages. It's the primary consumer proof of the framework and the reference for what a well-authored ShellDocs site looks like.
-
.NET 10 SDK
-
(optional)
ShellDocs.CLIglobal tool forshelldocs addandshelldocs dev:dotnet tool install -g ShellDocs.CLI --prerelease
dotnet runSite serves at http://localhost:5200. Or via the CLI:
shelldocs dev --port 5200Both watch .md, .razor, .cs files and hot-reload.
shelldocs add component MyThing # → content/docs/components/my-thing.md
shelldocs add guide getting-started # → content/docs/guides/getting-started.md
shelldocs add page faq # → content/docs/faq.mdOr hand-drop a .md file into content/docs/**. The nav graph picks it up automatically (meta.json controls ordering only).
shelldocs build --output publishEmits a static site into publish/ ready for GitHub Pages / Cloudflare Pages / Netlify / anywhere else.
content/
docs/
introduction.md
getting-started/
installation.md
quick-start.md
project-structure.md
configuration.md
authoring/ frontmatter, code fences, razor:preview, inline tags, navigation
components/ one page per content primitive
guides/ component libraries, versioning, redirects, search, llms.txt, not-found, deployment
cli/ init, add, dev, build, preview
theming.md
packages/ one overview per NuGet package
wwwroot/
favicon.svg, favicon.png, apple-touch-icon.png
brand/mark.svg the logo, read into LogoSvg in Program.cs
demos/ static pages shown with <IframePreview> (theme frame, colour presets)
cli-replay.js the terminal replay on the home page
copy-button.js copy buttons marked with data-copy
Llms/
agent-rules.md rules for AI agents, shown in /llms.txt and the agent files
Components/
Demos/ demo components shown with <DemoPreview>
Home/ the animated feature bento on the home page
Layout/ the site footer
The site references ShellDocs.* 0.1.18-alpha. On a new release, bump the four package versions in ShellDocs.Site.csproj together.
The site runs as a Docker image (Dockerfile). .github/workflows/docker.yml builds it on every pull request, and on every push to main pushes it to docker.zuluville.com/shelldocs-docs as :latest and :<short commit>. Registry login uses the repository secrets REGISTRY_USERNAME and REGISTRY_PASSWORD.
docker build -t docker.zuluville.com/shelldocs-docs .
docker run --rm -p 8080:8080 docker.zuluville.com/shelldocs-docsMIT.