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