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
Descriptionstring- Short blurb rendered after the title and as the see-also pointer description.
RoutePrefixstring- URL prefix in canonical
/foo/bar/form (always leading and trailing slash). Titlestring- 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
routePrefixstringtitlestringdescriptionstring
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; }
}