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:
Georg Brandl
2009-02-19 16:15:36 +01:00
parent 2dff2e3bfa
commit d4f5796f3b
7 changed files with 158 additions and 97 deletions

View File

@@ -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] '