new
mdu new creates a minimal documentation project with a docs/README.md starter page. It does not add configuration or dependencies.
Usage
mdu new [DIRECTORY]
If DIRECTORY is omitted, MDU creates the project in the current directory. Use . to make that explicit:
mdu new .
You can also provide a directory that does not exist yet:
mdu new ./my-docs
cd ./my-docs
mdu serve
MDU creates the target directory and its docs/README.md page. Existing files are left untouched. If the target already contains a folder named docs, MDU stops without changing it.
When you create the project in the current directory, run mdu serve to preview the starter page or mdu lint to check it.