Summary
Uses a delegate to describe where to find the sidecar file for each input document.
If a sidecar file is found, it's content is passed to the specified child modules for processing.
Syntax
public Sidecar(DocumentConfig sidecarPath, IEnumerable<IModule> modules)
Parameters
Name |
Type |
Description |
sidecarPath |
DocumentConfig |
A delegate that returns a Wyam.Common.IO.FilePath with the desired sidecar path. |
modules |
IEnumerable<IModule> |
The modules to execute against the sidecar file. |
Return Value