Prefere .bookignore when build too#1912
Open
podsvirov wants to merge 2 commits intorust-lang:masterfrom
Open
Conversation
podsvirov
added a commit
to podsvirov/mdbook-pikchr
that referenced
this pull request
Oct 16, 2022
For more info see rust-lang/mdBook#1912
Contributor
|
These efforts seem similar to #1908, which is adding support for an |
Author
|
My solution is very small and not change any dependencies, but looks like the I'm fine with any solution that allows to filter files at build time. |
Reuse watch command experience and process .bookignore (as .gitignore) if prezent.
eb451a3 to
9a0206c
Compare
Collaborator
|
☔ The latest upstream changes (possibly #2681) made this pull request unmergeable. Please resolve the merge conflicts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reuse watch command experience (#1044) and process .bookignore (as .gitignore) if prezent.
MOTIVATION: I'm just type
src = "."in book.toml and understand that something is wrong...SOLUTION: I'm make this PR and add .bookignore file and life is good, because
mdbook buildno more copytargettobook! :-)