MkDocsServeAsyncSettings Class

Summary

Contains settings used by MkDocsServeAsyncRunner.
Assembly
Cake.MkDocs.dll
Namespace
Cake.MkDocs.Serve
Base Types
graph BT Type-->Base0["MkDocsServeSettings"] click Base0 "/api/Cake.MkDocs.Serve/MkDocsServeSettings" Base0-->Base1["MkDocsSettings"] click Base1 "/api/Cake.MkDocs/MkDocsSettings" Base1-->Base2["ToolSettings"] Type["MkDocsServeAsyncSettings"] class Type type-node

Syntax

public sealed class MkDocsServeAsyncSettings : MkDocsServeSettings

Attributes

Type Description
MkDocsCommandAttribute

Constructors

Properties

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

Provide a specific MkDocs config.

Inherited from MkDocsServeSettings
DevAddr MkDocsAddress
Gets or sets a value indicating whether custom dev address is provided.

IP address and port to serve documentation locally (default localhost:8000).

Inherited from MkDocsServeSettings
DirtyReload bool
Gets or sets a value indicating whether live reloading is enabled.

Enable the live reloading in the development server, but only re-build files that have changed.

Inherited from MkDocsServeSettings
LiveReload bool
Gets or sets a value indicating whether live reloading is enabled.

Enable the live reloading in the development server (this is the default).

Inherited from MkDocsServeSettings
NoLiveReload bool
Gets or sets a value indicating whether live reloading is disabled.

Disable the live reloading in the development server.

Inherited from MkDocsServeSettings
Quiet bool
Gets or sets a value indicating whether quiet mode is enabled.

Silence warnings.

Inherited from MkDocsSettings
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.

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

The theme to use when building your documentation.

null - default theme; otherwise selected.
Inherited from MkDocsServeSettings
ThemeDir DirectoryPath
Gets or sets a value indicating whether custom theme dir is provided.

The theme directory to use when building your documentation.

Inherited from MkDocsServeSettings
Token CancellationToken
Gets or sets a value indicating whether cancellation token is defined for async operation.
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<MkDocsServeAsyncSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<MkDocsServeAsyncSettings>(MkDocsServeAsyncSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<MkDocsServeAsyncSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<MkDocsServeAsyncSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<MkDocsServeAsyncSettings>(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<MkDocsServeAsyncSettings>(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