This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

IContentEmitter Pennington.Content

Emits dynamically generated files into the build output. Smaller surface than IContentService — implement this for sources that only contribute build artifacts (e.g. llms.txt, robots.txt) and have nothing to say about routing, discovery, or search.

Methods

GetContentToCreateAsync

#
Task<ImmutableList<ContentToCreate>> GetContentToCreateAsync();

Files to write into the build output directory.

Returns

Task<ImmutableList<ContentToCreate>>

Pennington.Content.IContentEmitter

namespace Pennington.Content;

/// Emits dynamically generated files into the build output. Smaller surface than IContentService — implement this for sources that only contribute build artifacts (e.g. llms.txt, robots.txt) and have nothing to say about routing, discovery, or search.
public interface IContentEmitter
{
    /// Files to write into the build output directory.
    
Task<ImmutableList<ContentToCreate>> GetContentToCreateAsync();
}