-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-ConfigurationArea: ConfigurationArea: ConfigurationA-ErrorsArea: Errors and warningsArea: Errors and warningsBreaking ChangeThis would require a SemVer breaking changeThis would require a SemVer breaking change
Description
When there are unknown settings in book.toml
, mdbook just ignores them:
[book]
title = "foo"
abc = 123
This has occasionally caused problems and confusion for people when they make typos or mistakes. I think it would be good for unknown options to issue a warning. serde_ignored
provides a facility for catching these unknown fields.
Some care will need to be taken to consider things like plugins which can add their own sections to the config.
Metadata
Metadata
Assignees
Labels
A-ConfigurationArea: ConfigurationArea: ConfigurationA-ErrorsArea: Errors and warningsArea: Errors and warningsBreaking ChangeThis would require a SemVer breaking changeThis would require a SemVer breaking change