Skip to content

mdbook build flag that doesn't implicitly create files and errors if bad path in SUMMARY.md #253

Closed
@frewsxcv

Description

@frewsxcv

For rustc's CI, we set the filesystem to be mostly read-only. If a rustc docs contributor accidentally adds in an invalid path, we get these obscure read-only errors because mdbook is trying to create a file even though we don't want it to. It'd be helpful if there was a mdbook build flag like --nocreate or --strict that doesn't attempt to create files from SUMMARY.md if they don't exist and instead results in a build error.

Does this sound alright? If so, I can implement this.

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