MkDocsAliases.

MkDocsIsSupportedVersion(ICakeContext) Method

Summary

Check is provided MkDocs tool is in supported version.
Assembly
Cake.MkDocs.dll
Namespace
Cake.MkDocs
Containing Type
MkDocsAliases

Syntax

public static bool MkDocsIsSupportedVersion(this ICakeContext context)

Examples

if (!MkDocsIsSupportedVersion())
    throw new Exception("Installed unsupported MkDocs version");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
bool true - version is supported; otherwise, false.