From 730d7f84108c6400e4897bcd395ad8af9a97dd2c Mon Sep 17 00:00:00 2001 From: Michael Bryan Date: Sun, 17 Nov 2019 20:59:55 +0800 Subject: [PATCH] Exposed the execute_build_process() method to 3rd parties --- src/book/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/book/mod.rs b/src/book/mod.rs index 8d69eea2..2015801c 100644 --- a/src/book/mod.rs +++ b/src/book/mod.rs @@ -182,7 +182,7 @@ impl MDBook { } /// 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 preprocess_ctx = PreprocessorContext::new( self.root.clone(),