File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ def main(argv=None):
284
284
"outputdir" : os .path .join (
285
285
os .path .abspath (args .outputdir ), outputdir
286
286
),
287
- "confdir" : confdir_absolute ,
287
+ "confdir" : confpath ,
288
288
"docnames" : list (project .discover ()),
289
289
}
290
290
@@ -320,7 +320,7 @@ def main(argv=None):
320
320
"-D" ,
321
321
"smv_current_version={}" .format (version_name ),
322
322
"-c" ,
323
- data [ "confdir" ] ,
323
+ confdir_absolute ,
324
324
data ["sourcedir" ],
325
325
data ["outputdir" ],
326
326
* args .filenames ,
Original file line number Diff line number Diff line change @@ -170,11 +170,11 @@ def config_inited(app, config):
170
170
app .connect ("html-page-context" , html_page_context )
171
171
172
172
# Restore config values
173
- old_config = sphinx_config .Config .read (app . confdir )
173
+ old_config = sphinx_config .Config .read (data [ " confdir" ] )
174
174
old_config .pre_init_values ()
175
175
old_config .init_values ()
176
- config .version = old_config . version
177
- config .release = old_config . release
176
+ config .version = data [ " version" ]
177
+ config .release = data [ " release" ]
178
178
config .today = old_config .today
179
179
if not config .today :
180
180
config .today = sphinx_i18n .format_date (
You can’t perform that action at this time.
0 commit comments