Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 16, 2025

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 #1424

ehuss added 2 commits August 16, 2025 12:17
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 rust-lang#1424
@ehuss ehuss added the Breaking Change This would require a SemVer breaking change label Aug 16, 2025
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Aug 16, 2025
@ehuss ehuss enabled auto-merge August 16, 2025 19:27
@ehuss ehuss added this pull request to the merge queue Aug 16, 2025
Merged via the queue into rust-lang:master with commit 5d44ef9 Aug 16, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Aug 16, 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.

relative preprocessor paths are relative to the current directory instead of the book root

2 participants