All notable changes to ShellDocs land here. Format follows Keep a Changelog. Versioning is SemVer with prerelease suffixes (-alpha, -beta, -rc) — the alpha window explicitly reserves the right to break APIs on minor bumps.
Dogfood-driven fixes. Surfaced while writing the per-primitive / per-command / authoring pages on shelldocs.dev (30+ new sidebar entries pushed the tree past viewport height for the first time). One user-visible bug, one visual polish, both landed against the sidebar chrome.
.docs-sidebarno longer pushes its footer off-screen when the tree scrolls. InDocsLayoutVariant.Sidebar, once the sidebar tree grew tall enough to need internal scrolling, the footer (GitHub link + theme toggle) disappeared below the visible area of the floating sidebar card. Root cause:DocsSidebar.razor.csssetheight: 100%on the nav, which in a flex-column parent resolves against the parent's full content box (header + nav) instead of the remaining space, overriding theflex: 1; min-height: 0sizing fromDocsLayout.razor.css. Removed theheight: 100%and addedmin-height: 0in its place — footer now stays pinned to the bottom of the slot regardless of tree depth.
- Broader
SidebarIconscoverage. Hand-curated icon map grew from ~20 entries to ~50. New titles covered:Authoring,CLI(+Clialias for auto-title-cased folder names),Packages,Configuration,Project Structure,Quick Start,Frontmatter,Fenced Code,Razor Preview,Inline Component Tags,Navigation, plus PascalCase and space-separated variants of every content primitive (CardGrid/Card Grid,LinkCard/Link Card,Steps,FileTree/File Tree,TypeTable/Type Table,CodeGroup,PreviewFrame/Preview Frame,ComponentPreview/Component Preview) and the four CLI command names (shelldocs init/add/dev/build+ bareInit/Add/Dev/Build). Longer-term this is the argument forShellUI.Icons(SHELLUI_ICONS.md) — hand maps don't scale. Short-term this closes the visual gap where categories a mature consumer's site actually uses rendered without an icon while the framework's own vocabulary had one.
docs/SHELLUI_DOGFOOD_FIXES.mdnow tracked in git. Three entries logged from the shelldocs.dev writing session (the two fixes above, plus one still-open item:TitleFromFolderNamedoesn't uppercase acronyms —cli/→Cli,api/→Api. Worked around on the consumer via explicitmeta.json.title; framework-level fix — either a built-in acronym set or aShellDocsOptions.KnownAcronymshook — still open).
0.1.2-alpha — 2026-07-28
Dogfood-driven addition. Surfaced while building shelldocs.dev: the framework had no way to route to a page without also showing it in the sidebar. Fine for typical docs, blocker for landing pages reached via the sidebar package selector (they'd render redundantly in the sidebar tree AND be the dropdown target).
meta.jsonhiddenarray. New optional field alongsidetitle/pages. Slugs listed there route (URLs resolve, direct links + package-selector navigation work) but never appear in the sidebar tree. Takes precedence overpages— a slug listed in both stays hidden.{ "title": "Documentation", "pages": ["introduction", "getting-started"], "hidden": ["components", "cli", "markdown"] }NavigationGraphconstructor gains an optionalhiddenPagesparameter. Hidden pages get indexed into the URL lookup but are excluded from_flatPages(soGetPrevNextskips them) and never appear asRoot.Children(so sidebar tree andFlatten()skip them). Not intended for direct consumer use —NavigationGraphBuilder.Build()produces the collection during folder walking.
Four new NavigationGraphBuilderTests: hidden slug excluded from sidebar but URL resolves, hidden folder excluded from sidebar but child URLs resolve, hidden takes precedence over pages, hidden slug excluded from auto-append.
0.1.1-alpha — 2026-07-25
First point-release after the dogfood smoke of 0.1.0-alpha. Three consumer-blocking fixes plus release-workflow hardening.
NavigationGraphBuildernow auto-includes.mdfiles not referenced inmeta.json. Previously, whenmeta.jsonexisted, ONLY the entries in itspagesarray made it into the nav — every other file on disk was silently dropped.shelldocs add component Buttoncreatedcontent/docs/components/button.mdon disk but the URL 404'd and the page never appeared in the sidebar until the consumer hand-editedmeta.json. Fix:meta.jsonnow controls ORDERING of explicitly-listed items; presence is driven by the file tree. Unreferenced files/folders get appended alphabetically after the explicit ordering. Backward-compatible — consumers who list everything explicitly get their exact ordering preserved verbatim before the auto-appended tail.shelldocs initscaffold no longer emits a broken<Callout Text=...>example. The intro-page template referenced aTextprop that doesn't exist on<Callout>; the current API isVariant+Title+ChildContent. Every new consumer runningdotnet runon their fresh scaffold saw an empty callout as the first thing on their site. Template updated to<Callout Variant="info" Title="Live component">body content</Callout>.shelldocs initnow inserts a Content Update itemgroup sodotnet publishcopies the markdown corpus. Previously worked ondotnet run(resolves ContentRoot to source) but silently broke first deploy — the published output had zero markdown, so every/docs/*route 404'd. NewAddContentCopyIfMissinghelper adds<Content Update="content/**/*.md;content/**/meta.json" CopyToOutputDirectory="PreserveNewest" />to the consumer's csproj. Idempotent, runs in both CREATE and ATTACH modes.
- Release workflow pre-push existence check. New step queries
nuget.org/v3-flatcontainerfor each of the 6 package IDs at the tag's version before invokingdotnet nuget push. If any version already exists on nuget.org, the workflow fails loud with a "bumpDirectory.Build.propsand re-tag" message.--skip-duplicatestays in the push step (still useful for resuming a workflow re-run that partially completed), but the pre-check catches the "you forgot to bump the version number" case explicitly instead of silently no-op'ing.
0.1.0-alpha — 2026-07-25
First public release. The whole Phase 1 target is shipped, plus most of Phase 2's primitives + consumer DX polish. See ROADMAP.md.
Published to NuGet:
ShellDocs.CLI— global tool:dotnet tool install -g ShellDocs.CLI --prerelease. Commands:init,add,dev,build,previewShellDocs.Components— RCL with<DocsLayout>,<DocsHeader>,<DocsSidebar>,<TableOfContents>,<PrevNextNav>,<DocsBreadcrumb>,<SearchDialog>, content primitives, API-reference primitivesShellDocs.Core— navigation graph, search index model, routing helpers, markdown plain-text extractorShellDocs.Markdown— Markdig pipeline with frontmatter,razor:previewfenced blocks, inline Razor component tagsShellDocs.Templates— starter markdown + Program.cs snippets forshelldocs initscaffoldingShellDocs.Tokens— RCL withtokens.css— shadcn-compatible palette + spacing scale, single source of truth for--background,--foreground,--primary,--radius, dark mode
Markdown pipeline (ShellDocs.Markdown)
- YAML frontmatter parsing via YamlDotNet
```razor:previewfenced blocks — live-rendered previews with source-view toggle- Inline Razor component tags mid-markdown (
<Callout />,<Card ... />) - Component type registry (
RegisterComponent<T>()) with per-type tag aliases (RegisterComponent<Button>("Btn")) - Bulk
RegisterComponentsFromAssembly<TMarker>()scan +[ShellDocsIgnore]opt-out attribute - Automatic string→typed coercion for
bool,int,enumattribute values
Content primitives (ShellDocs.Components)
<Callout Variant="info|warning|danger|tip">— coloured info box with icon + title + body<Card>/<CardGrid Columns="1|2|3">/<LinkCard>— responsive card family<Steps>/<Step>— CSS-counter numbered list with badge-on-rail spine<FileTree>/<FileTreeItem>— recursive project-layout diagram<CodeGroup SyncKey>/<CodeTab>— tabbed code samples with cross-page sync
API-reference primitives (ShellDocs.Components)
<TypeTable>/<TypeRow Name Type Default Description Required>— props/API reference table<ComponentPreview Component="..." ...props>— declarative-prop single-component demos
Chrome (ShellDocs.Components)
<DocsLayout>with two variants (TopNav,Sidebarfloating card)<DocsHeader>with primary nav mega-menu, GitHub link, theme toggle<DocsSidebar>with grouped nav, collapsible sections (animated grid-rows), auto-open on active path<TableOfContents>— right-rail, h2/h3 auto-extraction, scroll-spy indicator with smooth slide<PrevNextNav>— auto-derived from nav-graph adjacency<DocsBreadcrumb>— auto-generated from nav path; sections render as text, current page asaria-current, only leaf pages become links<PackageSelector>— consumer-configurable multi-package selector; hides when 0 or 1 packages declared<BrandLogo>— consumer-configurable logo with three modes:LogoSvg(inline SVG, tints viacurrentColor),LogoLight/LogoDark(theme-paired image URLs), or dot placeholder fallback<SearchDialog>— Cmd+K modal, client-side substring scoring against title / description / section / body, snippet extraction for body-only matches<DocsFooter>/<DocsMobileBar>/<ThemeToggle>
Auto-chrome via DocsPageState
- Consumer's docs page collapses to just
<MarkdownContent Document="_document" />— TOC, PrevNext, Breadcrumb all auto-render from a shared scoped service - Recomputes on
NavigationManager.LocationChanged
Search (ShellDocs.Core)
SearchIndex.FromGraph()— page + heading entries with URL, title, description, section- Page entries carry extracted plain-text
Body(frontmatter / fences / HTML / Razor tags / images / links / inline code / emphasis / heading#all stripped) MarkdownPlainText.Extract()— reusable helper for body extraction, 8KB default cap
Code highlighting (ShellDocs.Components)
- Shiki via WASM (bundle configurable)
- Dual-theme via
--shiki-light/--shiki-darkCSS custom properties
Design tokens (ShellDocs.Tokens)
- Standalone RCL with
tokens.css(base + full variants) - Shadcn-compatible variable names for interop with ShellUI and other consumers
CLI (ShellDocs.CLI)
shelldocs init— two modes: create (default, scaffolds a fresh Blazor Web App) and attach (--attach, augments existing project viaSHELLDOCS_SETUP.md)shelldocs add <component|guide|page> <name>— scaffolds starter.mdfrom template intocontent/shelldocs dev— dotnet watch with .md hot-reloadshelldocs build— publishes static site, handles base-href rewrite + SPA 404 fallback
Animation polish (Phase 2)
- Native view-transitions API for cross-fade on route change (Chromium — silent no-op elsewhere)
- Sidebar section collapse animates via
grid-template-rows: 0fr → 1fr - Copy-icon success bounce
- Global
@media (prefers-reduced-motion: reduce)guard — all animations collapse to instant
Consumer configuration (ShellDocsOptions)
RegisterComponentsFromAssembly<TMarker>(filter?)— bulk-register a whole component library in one lineAddPackage(id, title, description, rootUrl, iconPath?)— declares consumer's package family for the sidebar selectorSetLogo(url)/SetLogo(light, dark, alt?)/LogoSvg— brand logoAddNavLink/AddNavMenu— top-nav wiringLayoutVariant— TopNav or Sidebar
- Body-text search uses substring scoring, not an inverted index — fine for docs-sized corpora (~100 pages), will need rebuilding at 1000+
- Search snippets don't yet highlight the matched substring
<TypeTable>is hand-authored today; XML-doc auto-generation ships inShellDocs.Xml(Phase 4)- No
<DocsBreadcrumb>opt-out — currently hides when the trail has ≤ 1 node, otherwise always renders