Cake.MkDocs

Cake Addin that extends Cake with ability to run the MkDocs.

#addin nuget:?package=Cake.MkDocs&version=2.1.1

dotnet add package Cake.MkDocs --version 2.1.1

<PackageReference Include="Cake.MkDocs" Version="2.1.1" />

Aliases

Contains functionalities for working with MkDocs.

Contains functionality related to MkDocs.

In order to use the commands for this alias, include the following in your build.cake file to download and install from NuGet.org, or specify the ToolPath within the correct ToolSettings class:

#addin "Cake.MkDocs"
#addin "nuget:?package=Cake.MkDocs"

Build

MkDocsBuild(DirectoryPath, MkDocsBuildSettings) Build the MkDocs documentation.
MkDocsBuild(DirectoryPath) Build the MkDocs documentation.
MkDocsBuild(MkDocsBuildSettings) Build the MkDocs documentation in working directory.
MkDocsBuild() Build the MkDocs documentation in working directory.

GhDeploy

MkDocsGhDeploy(DirectoryPath, MkDocsGhDeploySettings) Deploy your documentation to GitHub Pages.
MkDocsGhDeploy(DirectoryPath) Deploy your documentation to GitHub Pages.
MkDocsGhDeploy(MkDocsGhDeploySettings) Deploy your documentation to GitHub Pages (project in working directory).
MkDocsGhDeploy() Deploy your documentation to GitHub Pages (project in working directory).

New

MkDocsNew(DirectoryPath, MkDocsNewSettings) Create a new MkDocs project.
MkDocsNew(DirectoryPath) Create a new MkDocs project.
MkDocsNew(MkDocsNewSettings) Create a new MkDocs project in working directory.
MkDocsNew() Create a new MkDocs project in working directory.

Serve

MkDocsServe(DirectoryPath, MkDocsServeSettings) Run the builtin development server.
MkDocsServe(DirectoryPath) Run the builtin development server.
MkDocsServe(MkDocsServeSettings) Run the builtin development server async in working directory.
MkDocsServe() Run the builtin development server async in working directory.
MkDocsServeAsync(DirectoryPath, MkDocsServeAsyncSettings) Run the builtin development server async.
MkDocsServeAsync(DirectoryPath) Run the builtin development server async.
MkDocsServeAsync(MkDocsServeAsyncSettings) Run the builtin development server async in working directory.
MkDocsServeAsync() Run the builtin development server async in working directory.

Version

MkDocsIsSupportedVersion(MkDocsVersionSettings) Check is provided MkDocs tool is in supported version.
MkDocsIsSupportedVersion() Check is provided MkDocs tool is in supported version.
MkDocsVersion(MkDocsVersionSettings) Show the MkDocs version.
MkDocsVersion() Show the MkDocs version.