mdbook/crates/mdbook-driver
Eric Huss e7084e5548 Change CmdPreprocessor to use paths relative to the book root
This changes preprocessors so that:

- Relative paths in the `command` value are relative to the book root.
- The process current directory is the book root.

This makes it so that it isn't dependent on the directory where `mdbook`
is executed.

Fixes https://github.com/rust-lang/mdBook/issues/1424
2025-08-16 12:25:54 -07:00
..
src Change CmdPreprocessor to use paths relative to the book root 2025-08-16 12:25:54 -07:00
Cargo.toml Remove toml as a public dependency 2025-07-25 11:29:07 -07:00
README.md Add READMEs for all new crates 2025-07-23 17:47:31 -07:00

mdbook-driver

Documentation crates.io Changelog

This is the high-level Rust library for running mdBook. New books can be created using BookBuilder. The primary type MDBook can be used to manage and render books.

This crate is maintained by the mdBook team for use by the wider ecosystem. This crate follows semver compatibility for its APIs.

License

Mozilla Public License, version 2.0