The mkdocs serve
command builds and serves a local version of your MkDocs documentation, ideal for development and testing:
mkdocs serve
-
mkdocs
is the main MkDocs command-line interface.serve
is the subcommand to build and locally serve your documentation.