PageOrigin Pennington.Pipeline
Where a RenderedPage originated and what metadata is available for it.
Cases
EndpointOriginEndpointOrigin- Endpoint opted into llms.txt via
WithLlmsTxtEntry; the direct URL is the link target and no HTML is captured. MarkdownOriginMarkdownOrigin- Origin information for a
RenderedPage: the page came from a markdown source (carrying aParsedItemwith front matter + derived metadata) or from an endpoint opt-in (LlmsTxtEndpointExtensions) where the link target is the endpoint URL itself and no HTML is fetched. Razor / programmatic sources carry no origin metadata; seeOrigin.
Properties
Valueobject- Wrapped case instance; inspect via pattern matching on the case types.
Constructors
Pennington.Pipeline.PageOrigin
namespace Pennington.Pipeline;
/// Where a RenderedPage originated and what metadata is available for it.
public struct PageOrigin
{
/// Endpoint opted into llms.txt via WithLlmsTxtEntry; the direct URL is the link target and no HTML is captured.
public record EndpointOrigin(string DirectUrl) : object, IEquatable<EndpointOrigin>
/// Origin information for a RenderedPage: the page came from a markdown source (carrying a ParsedItem with front matter + derived metadata) or from an endpoint opt-in (LlmsTxtEndpointExtensions) where the link target is the endpoint URL itself and no HTML is fetched. Razor / programmatic sources carry no origin metadata; see Origin.
public record MarkdownOrigin(ParsedItem Parsed) : object, IEquatable<MarkdownOrigin>
/// Wraps a MarkdownOrigin.
public PageOrigin(MarkdownOrigin value)
;
/// Wraps an EndpointOrigin.
public PageOrigin(EndpointOrigin value)
;
/// Wrapped case instance; inspect via pattern matching on the case types.
public object Value { get; }
}