Summary
Base class for all
MkDocs related tools.
- Namespace
- Cake
.MkDocs - Base Types
-
- Tool
<TSettings>
- Tool
- Derived Types
graph BT
Type-->Base0["Tool<TSettings>"]
Type["MkDocsTool<TSettings>"]
class Type type-node
Derived0["MkDocsNewRunner"]-->Type
click Derived0 "/Cake.MkDocs/api/Cake.MkDocs.New/MkDocsNewRunner"
Derived1["MkDocsBuildRunner"]-->Type
click Derived1 "/Cake.MkDocs/api/Cake.MkDocs.Build/MkDocsBuildRunner"
Derived2["MkDocsServeRunner"]-->Type
click Derived2 "/Cake.MkDocs/api/Cake.MkDocs.Serve/MkDocsServeRunner"
Derived3["MkDocsServeAsyncRunner"]-->Type
click Derived3 "/Cake.MkDocs/api/Cake.MkDocs.Serve/MkDocsServeAsyncRunner"
Derived4["MkDocsGhDeployRunner"]-->Type
click Derived4 "/Cake.MkDocs/api/Cake.MkDocs.GhDeploy/MkDocsGhDeployRunner"
Derived5["MkDocsVersionRunner"]-->Type
click Derived5 "/Cake.MkDocs/api/Cake.MkDocs.Version/MkDocsVersionRunner"
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.
|