Skip to content

Commit

Permalink
Make chapter_titles optional in Book
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruin0x11 committed Feb 25, 2022
1 parent 7305e8c commit e74fdb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/book/book.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: (),
}
Expand Down

0 comments on commit e74fdb1

Please sign in to comment.