Merge pull request #1099 from Michael-F-Bryan/expose-execute-build-process

Exposed the MDBook::execute_build_process() method to 3rd parties
This commit is contained in:
Eric Huss 2019-11-23 10:44:58 -08:00 committed by GitHub
commit 7def6d70e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(),