AsciiDoctorJAliases.

AsciiDoctorJ(ICakeContext, AsciiDoctorJRunnerSettings) Method

Summary

Runs the tool using the given AsciiDoctorJRunnerSettings.
Assembly
Cake.AsciiDoctorJ.dll
Namespace
Cake.AsciiDoctorJ
Containing Type
AsciiDoctorJAliases

Syntax

public static void AsciiDoctorJ(this ICakeContext context, AsciiDoctorJRunnerSettings settings)

Examples

Task("Convert")
    .Does(() =>
{
    AsciiDoctorJ(new AsciiDoctorJRunnerSettings {
        Verbose = true,
        DocType = DocType.Article,
        Backend = "pdf",
        InputFiles = new[]{ file },
        DestinationDir = distDir
    });
});

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext.
settings AsciiDoctorJRunnerSettings The AsciiDoctorJRunnerSettings.

Return Value

Type Description
void