File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ impl MDBook {
140140 ///
141141 /// ```no_run
142142 /// # use mdbook_driver::MDBook;
143- /// # use mdbook_core ::book::BookItem;
143+ /// # use mdbook_driver ::book::BookItem;
144144 /// # let book = MDBook::load("mybook").unwrap();
145145 /// for item in book.iter() {
146146 /// match *item {
Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<()> {
3737 let ( ctx, book) = mdbook_preprocessor:: parse_input ( io:: stdin ( ) ) ?;
3838
3939 let book_version = Version :: parse ( & ctx. mdbook_version ) ?;
40- let version_req = VersionReq :: parse ( mdbook_core :: MDBOOK_VERSION ) ?;
40+ let version_req = VersionReq :: parse ( mdbook_preprocessor :: MDBOOK_VERSION ) ?;
4141
4242 if !version_req. matches ( & book_version) {
4343 eprintln ! (
4444 "Warning: The {} plugin was built against version {} of mdbook, \
4545 but we're being called from version {}",
4646 pre. name( ) ,
47- mdbook_core :: MDBOOK_VERSION ,
47+ mdbook_preprocessor :: MDBOOK_VERSION ,
4848 ctx. mdbook_version
4949 ) ;
5050 }
Original file line number Diff line number Diff line change 2929//!
3030//! ```rust,no_run
3131//! use mdbook_driver::MDBook;
32- //! use mdbook_core ::config::Config;
32+ //! use mdbook_driver ::config::Config;
3333//!
3434//! let root_dir = "/path/to/book/root";
3535//!
7878//! [user guide]: https://rust-lang.github.io/mdBook/
7979//! [`RenderContext`]: mdbook_renderer::RenderContext
8080//! [relevant chapter]: https://rust-lang.github.io/mdBook/for_developers/backends.html
81- //! [`Config`]: mdbook_core ::config::Config
81+ //! [`Config`]: mdbook_driver ::config::Config
You can’t perform that action at this time.
0 commit comments