Skip to content

feat: ignore files listed in .mdbookignore during build#3040

Open
jhult wants to merge 4 commits intorust-lang:masterfrom
jhult:feat/mdbookignore
Open

feat: ignore files listed in .mdbookignore during build#3040
jhult wants to merge 4 commits intorust-lang:masterfrom
jhult:feat/mdbookignore

Conversation

@jhult
Copy link
Contributor

@jhult jhult commented Feb 25, 2026

Rebase/update of #1908 on top of master.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Feb 25, 2026
@jhult
Copy link
Contributor Author

jhult commented Mar 2, 2026

@ehuss, I'd appreciate a review when you get a chance.

jhult added 4 commits March 2, 2026 22:13
Add a new function that uses the  crate to filter files during copy operations, supporting gitignore-style patterns.

build: update Cargo.lock for ignore dependency
Load .mdbookignore file from src directory and use it to filter files copied during the HTML build process.
@jhult jhult force-pushed the feat/mdbookignore branch from cd3130f to a42c81d Compare March 3, 2026 04:13
@rustbot
Copy link
Collaborator

rustbot commented Mar 3, 2026

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@jhult
Copy link
Contributor Author

jhult commented Mar 8, 2026

Other related PRs: #2247 and #2991.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: waiting on a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants