DocFxIssuesAliases.

DocFxIssuesFromContent(ICakeContext, string, DirectoryPath) Method

Summary

Gets an instance of a provider for warnings reported by DocFx using log file content.
Assembly
Cake.Issues.DocFx.dll
Namespace
Cake.Issues.DocFx
Containing Type
DocFxIssuesAliases

Syntax

public static IIssueProvider DocFxIssuesFromContent(this ICakeContext context, string logFileContent, DirectoryPath docRootPath)

Examples

Read warnings reported by DocFx:

var issues =
        ReadIssues(
            DocFxIssuesFromContent(
                logFileContent,
                @"c:\build\doc")),
            @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
logFileContent string Content of the DocFx log file.
docRootPath DirectoryPath Path to the root directory of the DocFx project. Either the full path or the path relative to the repository root.

Return Value

Type Description
IIssueProvider Instance of a provider for warnings reported by DocFx.
GitHub