DocFxServeAliases.

DocFxServe(ICakeContext, DirectoryPath) Method

Summary

Serve a website from the specified directory.
Assembly
Cake.DocFx.dll
Namespace
Cake.DocFx
Containing Type
DocFxServeAliases

Syntax

public static void DocFxServe(this ICakeContext context, DirectoryPath path)

Examples

DocFxServe("./docs");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
path DirectoryPath The optional directory to serve. If no value is passed the the current working directory will be used.

Return Value

Type Description
void