MkDocsBuildSettings Class

Summary

Contains settings used by MkDocsBuildRunner.
Assembly
Cake.MkDocs.dll
Namespace
Cake.MkDocs.Build
Base Types
graph BT Type-->Base0["MkDocsSettings"] click Base0 "/api/Cake.MkDocs/MkDocsSettings" Base0-->Base1["ToolSettings"] Type["MkDocsBuildSettings"] class Type type-node

Syntax

public sealed class MkDocsBuildSettings : MkDocsSettings

Attributes

Type Description
MkDocsCommandAttribute

Constructors

Name Summary
MkDocsBuildSettings()

Properties

Name Value Summary
Clean bool
Gets or sets a value indicating whether clean mode is enabled.

Remove old files from the site_dir before building (the default).

ConfigFile FilePath
Gets or sets a value indicating whether a specific config is provided.

Provide a specific MkDocs config.

Dirty bool
Gets or sets a value indicating whether dirty mode is enabled.

DO NOT remove old files from the site_dir before building.

true - force dirty mode build false - default cleaning mode;
Quiet bool
Gets or sets a value indicating whether quiet mode is enabled.

Silence warnings.

Inherited from MkDocsSettings
SiteDir DirectoryPath
Gets or sets a value indicating whether custom site dir is provided.

The directory to output the result of the documentation build.

Strict bool
Gets or sets a value indicating whether strict mode is enabled.

Enable strict mode. This will cause MkDocs to abort the build on any warnings.

Theme Nullable<MkDocsTheme>
Gets or sets a value indicating whether different theme should be used.

The theme to use when building your documentation.

ThemeDir DirectoryPath
Gets or sets a value indicating whether custom theme dir is provided.

The theme directory to use when building your documentation.

Verbose bool
Gets or sets a value indicating whether verbose mode is enabled.

Enable verbose output.

Inherited from MkDocsSettings

Extension Methods

Name Value Summary
Dump<MkDocsBuildSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<MkDocsBuildSettings>(MkDocsBuildSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<MkDocsBuildSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<MkDocsBuildSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<MkDocsBuildSettings>(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<MkDocsBuildSettings>(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