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 {
140
140
///
141
141
/// ```no_run
142
142
/// # use mdbook_driver::MDBook;
143
- /// # use mdbook_core ::book::BookItem;
143
+ /// # use mdbook_driver ::book::BookItem;
144
144
/// # let book = MDBook::load("mybook").unwrap();
145
145
/// for item in book.iter() {
146
146
/// match *item {
Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<()> {
37
37
let ( ctx, book) = mdbook_preprocessor:: parse_input ( io:: stdin ( ) ) ?;
38
38
39
39
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 ) ?;
41
41
42
42
if !version_req. matches ( & book_version) {
43
43
eprintln ! (
44
44
"Warning: The {} plugin was built against version {} of mdbook, \
45
45
but we're being called from version {}",
46
46
pre. name( ) ,
47
- mdbook_core :: MDBOOK_VERSION ,
47
+ mdbook_preprocessor :: MDBOOK_VERSION ,
48
48
ctx. mdbook_version
49
49
) ;
50
50
}
Original file line number Diff line number Diff line change 29
29
//!
30
30
//! ```rust,no_run
31
31
//! use mdbook_driver::MDBook;
32
- //! use mdbook_core ::config::Config;
32
+ //! use mdbook_driver ::config::Config;
33
33
//!
34
34
//! let root_dir = "/path/to/book/root";
35
35
//!
78
78
//! [user guide]: https://rust-lang.github.io/mdBook/
79
79
//! [`RenderContext`]: mdbook_renderer::RenderContext
80
80
//! [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