mdbook/src/renderer
Eric Huss 5777a0edc4 Fix issue with None source_path
This fixes an issue where mdbook would panic if a non-draft chapter has
a None source_path when generating the search index. The code was
assuming that only draft chapters would have that behavior. However, API
users can inject synthetic chapters that have no path on disk.

This updates it to fall back to the path, or skip if neither is set.
2025-02-17 09:41:52 -08:00
..
html_handlebars Fix issue with None source_path 2025-02-17 09:41:52 -08:00
markdown_renderer.rs Apply clippy::needless_borrow 2023-05-13 09:44:11 -07:00
mod.rs Require Rust 2021 edition 2022-09-09 16:00:35 +02:00