656 B
656 B
Preview book changes locally
It is easy to preview your local changes to the book before submitting a PR:
-
Build the local copy of the book from the
docs/bookpath:make build -
To preview the book contents run:
make serve
This should serve the book at localhost:3000. You can keep running make serve and continue making doc changes. mdBook will detect your changes, render them and refresh your browser page automatically.
-
Clean mdBook auto-generated content from
docs/book/bookpath once you have finished local preview:make clean