JekyllNewAliases.

JekyllNew(ICakeContext, DirectoryPath, Action<JekyllNewSettings>) Method

Summary

Create a new Jekyll site scaffold using the settings returned by a configurator.
Assembly
Cake.Jekyll.dll
Namespace
Cake.Jekyll
Containing Type
JekyllNewAliases

Syntax

public static void JekyllNew(this ICakeContext context, DirectoryPath path, Action<JekyllNewSettings> configurator)

Examples

JekyllNew("myblog", settings => settings
    .EnableForce()
    .SkipBundle()
);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
path DirectoryPath The path to scaffold the site.
configurator Action<JekyllNewSettings> The settings configurator.

Return Value

Type Description
void