rust-lang / book

The Rust Programming Language
https://doc.rust-lang.org/book/
Other
14.56k stars 3.31k forks source link

infra: tweak mdBook preprocessors configuration #3931

Closed chriskrycho closed 1 month ago

chriskrycho commented 1 month ago

Remove these from the workspace, because they will need to be used as path dependencies in rust-lang/rust, as part of the build, because the Rust build pipeline invokes mdBook programmatically rather than via tools built directly, and we really don’t want to muck with publishing these to crates.io at present. As a result, they cannot be part of this workspace, because path dependencies do not get built as a crate within the hosting workspace. Make sure they do not rely on any features other than the core mdbook library.