mdbook/examples
Eric Huss 3629e2c051 Add an iterator over chapters
This adds the `Book::chapters` iterator (and `for_each_chapter_mut`) to
iterate over non-draft chapters. This is a common pattern I keep
encountering, and I figure it might simplify things. It runs a little
risk that callers may not be properly handling every item type, but I
think it should be ok.
2025-09-15 07:11:19 -07:00
..
remove-emphasis Add an iterator over chapters 2025-09-15 07:11:19 -07:00
nop-preprocessor.rs Rename Book.sections to Book.items 2025-08-22 18:51:04 -07:00