Skip to content

If SUMMARY.md doesn't contain a file, mdbook doesn't give an error #540

Closed
@est31

Description

@est31

Suppose you changed a line in SUMMARY.md of the example book from:

    - [watch](cli/watch.md)

to

    - [watch](cli/wa_tch.md)

The file wa_tch.md doesn't exist. If you ask mdbook to create the book, it doesn't give you any error or complaint that the file couldn't be found. Instead it generates an empty page. This has led to an issue with Rust's documentation staying undiscovered: rust-lang/rust#47394 .
Therefore mdbook should fail generation of the book if it encounters a file it can't find.

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