Skip to content

Gitbook deletes the output directory #273

@flaviut

Description

@flaviut

If deletion is necessary, Gitbook should only delete the files that need to be deleted for the build to occur. Deleting the entire directory can cause data loss if the output directory is misconfigured. For example, naively using ./ as the output directory might lead to things such as the loss of unpushed changes.

Duplicate of #106, but that seems to have been closed a while ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions