Exposed the execute_build_process() method to 3rd parties
This commit is contained in:
parent
441a10bdd7
commit
730d7f8410
|
@ -182,7 +182,7 @@ impl MDBook {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Run the entire build process for a particular `Renderer`.
|
/// Run the entire build process for a particular `Renderer`.
|
||||||
fn execute_build_process(&self, renderer: &dyn Renderer) -> Result<()> {
|
pub fn execute_build_process(&self, renderer: &dyn Renderer) -> Result<()> {
|
||||||
let mut preprocessed_book = self.book.clone();
|
let mut preprocessed_book = self.book.clone();
|
||||||
let preprocess_ctx = PreprocessorContext::new(
|
let preprocess_ctx = PreprocessorContext::new(
|
||||||
self.root.clone(),
|
self.root.clone(),
|
||||||
|
|
Loading…
Reference in New Issue