Open
Description
mdbook build -d ./my_out_dir guide
generates the book in guide/my_out_dir
and not in the expected my_out_dir
. mdbook build -d /tmp/out_dir guide
otherwise doesn't build the book in guide/tmp/out_dir
, but in /tmp/out_dir
.
This can lead to extremely confusing situation, e.g. mdbook build -d ./out_dir guide
and mdbook build -d $(pwd)/out_dir guide
build to different locations.