A command line tool for MarkDocs.
Execute command:
dotnet tool install -g ITGlobal.MarkDocs.CommandLineToolThen run:
markdocs [command]If markdocs CLI tool is already installed, type the following command to update it:
dotnet tool update -g ITGlobal.MarkDocs.CommandLineToolmarkdocs lint- runs a linter over a directorymarkdocs build- generates a static HTML website from a directorymarkdocs serve- serves a website from a directory (updating on the fly!)markdocs serve-git- serves a website from a git repository (updating on the fly!)
Try markdocs --help or markdocs <command> --help to find out more.
Commands markdocs serve and markdocs serve-git are also available
as a Dockerized application.