Forrest logo
back to the mdbook tool

mdbook:tldr:5ff64

mdbook: Clean the directory with the generated book.
$ mdbook clean
try on your machine

The command "mdbook clean" is used in the context of mdBook, which is a utility for creating and publishing books or documents written in Markdown format.

The "mdbook clean" command is used to remove all generated files and directories created by mdBook during the build process. This includes removing the "book" directory, which is the default output directory for the generated book.

By running "mdbook clean", you can delete all previously generated files and start fresh with a clean slate for the next build process. This can be useful when you want to completely regenerate the book, update the build configuration, or clean up any unnecessary files or artifacts that are no longer needed.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mdbook tool