MkDocsServeSettings Class

Summary

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

Syntax

[MkDocsCommand("serve")]
public class MkDocsServeSettings : MkDocsSettings

Attributes

Type Description
MkDocsCommandAttribute

Properties

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

Provide a specific MkDocs config.

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).

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.

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).

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

Disable the live reloading in the development server.

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.

Theme 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.
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
GitHub