This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.MkDocs.
Summary
Base class for all
MkDocs related tools.
- Assembly
- Cake
.MkDocs .dll - Namespace
- Cake
.MkDocs - Base Types
-
- Tool
<TSettings>
- Tool
- Derived Types
graph BT
Type-->Base0["Tool<TSettings>"]
Type["MkDocsTool<TSettings>"]
class Type type-node
Derived0["MkDocsVersionRunner"]-->Type
click Derived0 "/api/Cake.MkDocs.Version/MkDocsVersionRunner"
Derived1["MkDocsNewRunner"]-->Type
click Derived1 "/api/Cake.MkDocs.New/MkDocsNewRunner"
Derived2["MkDocsServeAsyncRunner"]-->Type
click Derived2 "/api/Cake.MkDocs.Serve/MkDocsServeAsyncRunner"
Derived3["MkDocsBuildRunner"]-->Type
click Derived3 "/api/Cake.MkDocs.Build/MkDocsBuildRunner"
Derived4["MkDocsGhDeployRunner"]-->Type
click Derived4 "/api/Cake.MkDocs.GhDeploy/MkDocsGhDeployRunner"
Derived5["MkDocsServeRunner"]-->Type
click Derived5 "/api/Cake.MkDocs.Serve/MkDocsServeRunner"
Syntax
public abstract class MkDocsTool<TSettings> : Tool<TSettings> where TSettings : MkDocsSettings
Type Parameters
| Name | Description |
|---|---|
| TSettings | the settings type. |
Constructors
| Name | Summary |
|---|---|
| MkDocsTool |
Initializes a new instance of the MkDocsTool<TSettings> class.
|
Methods
| Name | Value | Summary |
|---|---|---|
| BuildArguments |
Process |
Builds process arguments based on settings.
|
| Get |
IEnumerable |
Gets the possible names of the tool executable.
|
| GetToolName |
string |
Gets the name of the tool.
|
| Run |
void |
Runs the tool using the specified settings.
Creates process arguments based on settings attribute.
|
| Run |
void |
Runs the tool using the specified settings and change process workig directory.
Creates process arguments based on settings attribute.
|
| Run |
void |
Runs the tool using a custom tool path and the specified settings.
Creates process arguments based on settings attribute.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
