AsciidoctorSettings Class

Summary

Optional settings for Asciidoctor
Assembly
Cake.Asciidoctor.dll
Namespace
Cake.Asciidoctor
Base Types
graph BT Type-->Base0["AsciidoctorSettingsBase"] click Base0 "/api/Cake.Asciidoctor/AsciidoctorSettingsBase" Base0-->Base1["ToolSettings"] Type["AsciidoctorSettings"] class Type type-node

Syntax

public class AsciidoctorSettings : AsciidoctorSettingsBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
AsciidoctorSettings()

Properties

Name Value Summary
Attributes AsciidoctorAttributeCollection
The attributes to set, override or unset when converting documents (command line option --attribute)
Backend string
The output file format (command line option --backend)
BaseDirectory DirectoryPath
The base directory containing the input document and resources (command line option --base-dir)
DestinationDirectory DirectoryPath
The output directory for converted documents (command line option --destination-dir)
Doctype Nullable<AsciidoctorDoctype>
The document type to use for converting AsciiDoc documents (command line option --doctype)
Embedded bool
When set to true, generate an embeddable document which excludes content other than the document body (command line option --embedded)
FailureLevel Nullable<AsciidoctorFailureLevel>
The minimual log level that causes the document conversion to fail (command line option --failure-level)
LoadPaths ICollection<DirectoryPath>
Specifies additional path where extensions can be loaded from (command line option --load-path)
OutFile FilePath
The outpath for the converted docments (command line option --out-file)
Quiet bool
When set to true, disables log messages (command line option --quiet)
Require ICollection<string>
Specifies additional library to load before converting the input document (command line option --require)
SafeMode Nullable<AsciidoctorSafeMode>
The "safe mode" to use when converting documents (command line option --safe-mode)
SectionNumbers bool
When set to true, enables automatic numbering of sections (command line option --section-numbers).
SourceDirectory DirectoryPath
The path of the source directory (command line option --source-dir)
TemplateDirectories ICollection<DirectoryPath>
Specifies the paths of directories containing custom converted templates (command line option --template-dir)
TemplateEngine string
The template engine to use for custom converter templates (command line option --template-engine)
Timings bool
When set to true, prints out a timing report (command line option --timings)
Trace bool
When set to true, includes additional information when logging errors in the console output (command line option --trace)
Verbose bool
When set to true, includes INFO and DEBUF messages in the log output (command line option --verbose)
Warnings bool
When set to true, enables script warnings (command line option --warnings)

Extension Methods

Name Value Summary
Dump<AsciidoctorSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AsciidoctorSettings>(AsciidoctorSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AsciidoctorSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AsciidoctorSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<AsciidoctorSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AsciidoctorSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin

See Also