MkDocsAliases.

MkDocsNew(ICakeContext, DirectoryPath) Method

Summary

Create a new MkDocs project.
Assembly
Cake.MkDocs.dll
Namespace
Cake.MkDocs
Containing Type
MkDocsAliases

Syntax

public static void MkDocsNew(this ICakeContext context, DirectoryPath projectDirectory)

Examples

MkDocsNew("./docs-project");
MkDocsNew(new DirectoryPath("./docs-project"));

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
projectDirectory DirectoryPath New project directory path.

Return Value

Type Description
void