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

Skip to main content Skip to navigation

MarkdownContentOptions Pennington.Infrastructure

Options for a markdown content source.

Properties

BasePageUrl string
Default: "/"
URL prefix prepended to routes generated from this source.
ContentPath string
Default: "Content"
Filesystem path to the directory containing markdown files.
ExcludePaths System.Collections.Immutable.ImmutableArray<string>
Default: ImmutableArray<string>.Empty
Relative subpaths (from ContentPath) to skip during discovery and content copying. Set this on a broad catch-all source to carve out a subtree that is owned by a more specific markdown source registered nearby. See MarkdownContentServiceOptions.ExcludePaths for matching semantics.
SectionLabel string?
Default: null
Default section label applied when front matter does not specify one.

Pennington.Infrastructure.MarkdownContentOptions

namespace Pennington.Infrastructure;

/// Options for a markdown content source.
public class MarkdownContentOptions
{
    /// URL prefix prepended to routes generated from this source.
    
public string BasePageUrl { get; set; } = "/";
/// Filesystem path to the directory containing markdown files.
public string ContentPath { get; set; } = "Content";
/// Relative subpaths (from ContentPath) to skip during discovery and content copying. Set this on a broad catch-all source to carve out a subtree that is owned by a more specific markdown source registered nearby. See MarkdownContentServiceOptions.ExcludePaths for matching semantics.
public ImmutableArray<string> ExcludePaths { get; set; } = ImmutableArray<string>.Empty;
/// Default section label applied when front matter does not specify one.
public string? SectionLabel { get; set; }
}