Pass updated config to renderer

This commit is contained in:
Jooyung Han 2023-02-22 15:19:13 +09:00
parent 376b8f9bfb
commit 88289f5fad
1 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ impl MDBook {
}
let preprocess_ctx = PreprocessorContext::new(
self.root.clone(),
config,
config.clone(),
renderer.name().to_string(),
);
@ -231,7 +231,7 @@ impl MDBook {
let mut render_context = RenderContext::new(
self.root.clone(),
preprocessed_book,
self.config.clone(),
config,
build_dir,
);
render_context