mdbook/examples/remove-emphasis/mdbook-remove-emphasis/src
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
..
main.rs Add an iterator over chapters 2025-09-15 07:11:19 -07:00