Make `chapter_titles` optional in Book

This commit is contained in:
Ruin0x11 2022-02-25 14:30:38 -08:00
parent 7305e8c60d
commit e74fdb1072
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ pub struct Book {
/// The sections in this book.
pub sections: Vec<BookItem>,
/// Chapter title overrides for this book.
#[serde(default)]
pub chapter_titles: HashMap<PathBuf, String>,
__non_exhaustive: (),
}