While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.

Documents.

Documents(DocumentConfig) Constructor

Summary

This will get documents based on each input document. The output will be the aggregate of all returned documents for each input document. The return value is expected to be a IEnumerable<IDocument>.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
Documents

Syntax

public Documents(DocumentConfig documents)

Parameters

Name Type Description
documents DocumentConfig A delegate that should return a IEnumerable<IDocument> containing the documents to output for each input document.

Return Value

Type Description
void
GitHub