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

ILlmsSubtreeProvider Pennington.LlmsTxt

Optional capability for a IContentService to surface subtree declarations discovered during its own scan (for example, _meta.yml sidecars with an llms block under a markdown content tree).

Methods

GetLlmsSubtreesAsync

#
public Task<ImmutableList<LlmsSubtree>> GetLlmsSubtreesAsync()

Returns the subtrees declared by this provider's content.

Returns

Task<ImmutableList<LlmsSubtree>>

Pennington.LlmsTxt.ILlmsSubtreeProvider

namespace Pennington.LlmsTxt;

/// Optional capability for a IContentService to surface subtree declarations discovered during its own scan (for example, _meta.yml sidecars with an llms block under a markdown content tree).
public interface ILlmsSubtreeProvider
{
    /// Returns the subtrees declared by this provider's content.
    
public Task<ImmutableList<LlmsSubtree>> GetLlmsSubtreesAsync()
; }