MkDocsAliases.

MkDocsServe(ICakeContext, DirectoryPath) Method

Summary

Run the builtin development server.
Assembly
Cake.MkDocs.dll
Namespace
Cake.MkDocs
Containing Type
MkDocsAliases

Syntax

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

Examples

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

Remarks

This method will block build process. Use Ctrl+C in console to quit.

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
projectDirectory DirectoryPath Project directory path to serve.

Return Value

Type Description
void