upd doc string
This commit is contained in:
parent
34ee6c9274
commit
985745531c
|
@ -8,9 +8,12 @@ use std::path::PathBuf;
|
||||||
|
|
||||||
pub trait Renderer {
|
pub trait Renderer {
|
||||||
|
|
||||||
/// Responsible for creating an `MDBook` struct from path, preparing the
|
/// When the output format is determined (by a CLI argument for example),
|
||||||
/// project and calling `render()`, doing what is necessary for the
|
/// call `.build()` of the selected Renderer implementation.
|
||||||
/// particular output format.
|
///
|
||||||
|
/// Constructs an `MDBook` struct given the path of the book project,
|
||||||
|
/// preparing the project and calling `render()`, doing what is necessary
|
||||||
|
/// for the particular output format.
|
||||||
///
|
///
|
||||||
/// This involves parsing config options from `book.toml` and parsing the
|
/// This involves parsing config options from `book.toml` and parsing the
|
||||||
/// `SUMMARY.md` of each translation to a nested `Vec<TocItem>`.
|
/// `SUMMARY.md` of each translation to a nested `Vec<TocItem>`.
|
||||||
|
|
Loading…
Reference in New Issue