-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👌 Add warning log for config values that cannot be cached (#12203)
As a user and/or extension developer, it can be a source of confusion when, on performing a `sphinx-build` for a cached project, an unchanged configuration variable is always marked as changed (triggering a full rebuild). This is often due to the variable being an unpicklable value, which is silently omitted from the cache (i.e. the `environment.pickle`). This commit introduces a specific warning for when a configuration variable is omitted from the cache, allowing users to understand the root of the problem.
- Loading branch information
1 parent
448cb99
commit 430866e
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters