Exposed the execute_build_process() method to 3rd parties

This commit is contained in:
Michael Bryan 2019-11-17 20:59:55 +08:00
parent 441a10bdd7
commit 730d7f8410
No known key found for this signature in database
GPG Key ID: E9C602B0D9A998DC
1 changed files with 1 additions and 1 deletions

View File

@ -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(),