Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 18, 2025

This changes with_renderer and with_preprocessor to replace any extensions of the same name instead of just appending to the list. This is necessary for rust-lang's build process, because we replace the preprocessors with local ones. Previously, mdbook would just print an error, but continue working. With the change that preprocessors are no longer optional by default, it is now required that we have a way to replace the existing entries.

ehuss added 2 commits August 18, 2025 11:18
This adds tests with with_renderer and with_preprocessor are used with
extensions that have the same name.
This changes `with_renderer` and `with_preprocessor` to replace any
extensions of the same name instead of just appending to the list. This
is necessary for rust-lang's build process, because we replace the
preprocessors with local ones. Previously, mdbook would just print an
error, but continue working. With the change that preprocessors are no
longer optional by default, it is now required that we have a way to
replace the existing entries.
@ehuss ehuss added the Breaking Change This would require a SemVer breaking change label Aug 18, 2025
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Aug 18, 2025
@ehuss ehuss enabled auto-merge August 18, 2025 18:20
@ehuss ehuss added this pull request to the merge queue Aug 18, 2025
Merged via the queue into rust-lang:master with commit 21f2435 Aug 18, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Change This would require a SemVer breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants