Skip to content

mdbook serve clobbers old versions of docs #1367

Description

@alexdewar

Not an especially important bug.

I often run mdbook serve -o to view the documentation once I've built it, but if you build the old docs (just build_docs::all_with_old) then run mdbook, the old docs are deleted again. The problem is that we have a folder at docs/release which just contains some Python code, but release is also the name of the folder where we put old versions of docs when we generate them. When you run mdbook serve it clobbers the contents of book/release with docs/release.

You can just open book/index.html directly instead. We could fix this by renaming docs/release to something else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    On hold

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions