DocFxMetadataAliases.

DocFxMetadata(ICakeContext, DocFxMetadataSettings) Method

Summary

Extract API documentation using DocFx, with the specified settings.
Assembly
Cake.DocFx.dll
Namespace
Cake.DocFx
Containing Type
DocFxMetadataAliases

Syntax

public static void DocFxMetadata(this ICakeContext context, DocFxMetadataSettings settings)

Examples

DocFxMetadata(new DocFxMetadataSettings()
{
    OutputPath = "./artifacts/docs"
});
DocFxMetadata(new DocFxMetadataSettings()
{
    OutputPath = "./artifacts/docs",
    Projects = GetFiles("./src/**/*.csproj")
});

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
settings DocFxMetadataSettings The DocFx settings.

Return Value

Type Description
void