Docs.

Scaffold(IFile, IDirectory) Method

Summary

Scaffolds an example for the recipe in the specified directory.
Assembly
Wyam.Docs.dll
Namespace
Wyam.Docs
Containing Type
Docs

Syntax

public override void Scaffold(IFile configFile, IDirectory inputDirectory)

Parameters

Name Type Description
configFile IFile The configuration file or null if the user chose not to overwrite an existing configuration file. An existing configuration file will not be automatically deleted, nor will a new configuration file be automatically created. If new configuration file content needs to be written, it's up to the recipe to create it or delete the existing file.
inputDirectory IDirectory The directory to place the example in.

Return Value

Type Description
void
GitHub