mirror of
https://github.com/rust-lang/mdBook.git
synced 2025-12-27 10:16:09 -05:00
Added support for gitignore files. (#1044)
* Added support for gitignore files. The watch command will now ignore files based on gitignore. This can be useful for when your editor creates cache or swap files. * Ran cargo fmt. * Made the code a bit tidier based on input from other Rust programmers. Changed the type of the closure back to use PathBuf, not &PathBuf. Reduced nesting.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,3 +9,5 @@ book-example/book
|
||||
.vscode
|
||||
tests/dummy_book/book/
|
||||
|
||||
# Ignore Jetbrains specific files.
|
||||
.idea/
|
||||
|
||||
Reference in New Issue
Block a user