mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The HTML builder now stores a small file named `.buildinfo` in
its output directory. It stores a hash of config values that can be used to determine if a full rebuild needs to be done (e.g. after changing ``html_theme``).
This commit is contained in:
@@ -460,8 +460,8 @@ class BuildEnvironment:
|
||||
else:
|
||||
# check if a config value was changed that affects how
|
||||
# doctrees are read
|
||||
for key, descr in config.config_values.iteritems():
|
||||
if not descr[1]:
|
||||
for key, descr in config.values.iteritems():
|
||||
if descr[1] != 'env':
|
||||
continue
|
||||
if self.config[key] != config[key]:
|
||||
msg = '[config changed] '
|
||||
|
||||
Reference in New Issue
Block a user