GetSource(NormalizedPath) Method
Gets the first document in the list with the given source path (note that source paths are generally absolute).
Namespace
Statiq.Common
Containing Type
IPipelineOutputs

Syntax

IDocument GetSource(NormalizedPath sourcePath)

Parameters

Name Type Description
sourcePath NormalizedPath The source path of the document to get.

Return Value

Type Description
IDocument The first matching document or null if no document contains the given source path.