Skip to content

dest-dir should be relative to the current dir and not to the book rootย #698

Open
@konstin

Description

@konstin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions