Make `chapter_titles` optional in Book
This commit is contained in:
parent
7305e8c60d
commit
e74fdb1072
|
@ -128,6 +128,7 @@ pub struct Book {
|
||||||
/// The sections in this book.
|
/// The sections in this book.
|
||||||
pub sections: Vec<BookItem>,
|
pub sections: Vec<BookItem>,
|
||||||
/// Chapter title overrides for this book.
|
/// Chapter title overrides for this book.
|
||||||
|
#[serde(default)]
|
||||||
pub chapter_titles: HashMap<PathBuf, String>,
|
pub chapter_titles: HashMap<PathBuf, String>,
|
||||||
__non_exhaustive: (),
|
__non_exhaustive: (),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue