IMarkdownContentSource Pennington.Content
Non-generic capability interface exposing the root directory and base URL of a markdown content source. Used by MarkdownLinkResolver to compute URL paths for relative asset references without having to deal with the generic MarkdownContentService type, and by the overlap detector to diagnose misconfigurations where two markdown sources claim overlapping subtrees.
Properties
AbsoluteContentRootstring- Absolute path to the content directory (default locale root).
BasePageUrlPennington.Routing.UrlPath- Base URL under which this source's content is served.
ExcludePathsSystem.Collections.Immutable.ImmutableArray<string>- Normalized (forward-slash, lowercase) relative paths excluded from discovery and content copying. Empty for sources that don't opt out of any subtree.
Pennington.Content.IMarkdownContentSource
namespace Pennington.Content;
/// Non-generic capability interface exposing the root directory and base URL of a markdown content source. Used by MarkdownLinkResolver to compute URL paths for relative asset references without having to deal with the generic MarkdownContentService type, and by the overlap detector to diagnose misconfigurations where two markdown sources claim overlapping subtrees.
public interface IMarkdownContentSource
{
/// Absolute path to the content directory (default locale root).
string AbsoluteContentRoot { get; }
/// Base URL under which this source's content is served.
UrlPath BasePageUrl { get; }
/// Normalized (forward-slash, lowercase) relative paths excluded from discovery and content copying. Empty for sources that don't opt out of any subtree.
ImmutableArray<string> ExcludePaths { get; }
}