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

LlmsSubtree Pennington.LlmsTxt

Declares that all leaves under RoutePrefix should be split out of the main /llms.txt into a dedicated {RoutePrefix}llms.txt, leaving the front door with a single see-also pointer line.

Properties

Description string
Short blurb rendered after the title and as the see-also pointer description.
RoutePrefix string
URL prefix in canonical /foo/bar/ form (always leading and trailing slash).
Title string
Header rendered at the top of the subtree's llms.txt.

Constructors

LlmsSubtree

#
public LlmsSubtree(string routePrefix, string title, string description)

Initializes a subtree, normalizing routePrefix to /foo/bar/ form.

Parameters

routePrefix string
title string
description string

Pennington.LlmsTxt.LlmsSubtree

namespace Pennington.LlmsTxt;

/// Declares that all leaves under RoutePrefix should be split out of the main /llms.txt into a dedicated {RoutePrefix}llms.txt, leaving the front door with a single see-also pointer line.
public record LlmsSubtree
{
    /// Short blurb rendered after the title and as the see-also pointer description.
    
public string Description { get; }
/// Initializes a subtree, normalizing routePrefix to /foo/bar/ form.
public LlmsSubtree(string routePrefix, string title, string description)
; /// URL prefix in canonical /foo/bar/ form (always leading and trailing slash).
public string RoutePrefix { get; }
/// Header rendered at the top of the subtree's llms.txt.
public string Title { get; }
}