|
@@ -170,11 +170,11 @@ def config_inited(app, config):
|
|
|
app.connect("html-page-context", html_page_context)
|
|
|
|
|
|
# Restore config values
|
|
|
- old_config = sphinx_config.Config.read(app.confdir)
|
|
|
+ old_config = sphinx_config.Config.read(data["confdir"])
|
|
|
old_config.pre_init_values()
|
|
|
old_config.init_values()
|
|
|
- config.version = old_config.version
|
|
|
- config.release = old_config.release
|
|
|
+ config.version = data["version"]
|
|
|
+ config.release = data["release"]
|
|
|
config.today = old_config.today
|
|
|
if not config.today:
|
|
|
config.today = sphinx_i18n.format_date(
|