AsciiDoctorJAliases.

AsciiDoctorJ(ICakeContext, AsciiDoctorJRunnerSettings) Method

Summary

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

Syntax

[CakeMethodAlias]
[CakeAliasCategory("AsciiDoctorJ")]
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
CakeMethodAlias
CakeAliasCategory

Parameters

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

Return Value

Type Description
void
GitHub Discussion