This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

DocFrontMatter Pennington.FrontMatter

Core-library front matter for documentation pages on bare AddPennington hosts. Implements IFrontMatter, ITaggable, ISectionable, and IOrderable — the default capability shape for doc content without the DocSite template. Hosts using AddDocSite bind DocSiteFrontMatter from the Pennington.DocSite package instead.

Properties

Description string
Short summary used in meta descriptions, OpenGraph tags, and listings.
IsDraft bool
True when the page is a draft and should be excluded from builds.
Llms bool
True when the page should be included in llms.txt output.
Order int
Sort order for this page within its section (lower sorts first).
Search bool
True when the page should be included in the search index.
SearchOnly bool
When true, the page is included in indexing channels (search, llms.txt) but excluded from the rendered navigation tree. Useful for FAQ entries, glossary terms, or other content that should be discoverable by search but should not clutter the sidebar.
SectionLabel string
Section label for this page, used in breadcrumbs and prev/next navigation.
Tags string[]
Tags applied to this content.
Title string
Page title rendered in the browser tab, navigation, and OpenGraph tags.
Uid string
Stable cross-reference identifier used by xref links.

Pennington.FrontMatter.DocFrontMatter

namespace Pennington.FrontMatter;

/// Core-library front matter for documentation pages on bare AddPennington hosts. Implements IFrontMatter, ITaggable, ISectionable, and IOrderable — the default capability shape for doc content without the DocSite template. Hosts using AddDocSite bind DocSiteFrontMatter from the Pennington.DocSite package instead.
public record DocFrontMatter
{
    /// Short summary used in meta descriptions, OpenGraph tags, and listings.
    
public string Description { get; set; }
/// True when the page is a draft and should be excluded from builds.
public bool IsDraft { get; set; }
/// True when the page should be included in llms.txt output.
public bool Llms { get; set; }
/// Sort order for this page within its section (lower sorts first).
public int Order { get; set; }
/// True when the page should be included in the search index.
public bool Search { get; set; }
/// When true, the page is included in indexing channels (search, llms.txt) but excluded from the rendered navigation tree. Useful for FAQ entries, glossary terms, or other content that should be discoverable by search but should not clutter the sidebar.
public bool SearchOnly { get; set; }
/// Section label for this page, used in breadcrumbs and prev/next navigation.
public string SectionLabel { get; set; }
/// Tags applied to this content.
public string[] Tags { get; set; }
/// Page title rendered in the browser tab, navigation, and OpenGraph tags.
public string Title { get; set; }
/// Stable cross-reference identifier used by xref links.
public string Uid { get; set; }
}