Merge pull request #2071 from expikr/patch-3

Added missing documentation for `mdbook init --ignore=<git|none>`
This commit is contained in:
Eric Huss 2023-04-22 12:55:46 -07:00 committed by GitHub
commit 9db3a601ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -67,4 +67,12 @@ mdbook init --title="my amazing book"
Create a `.gitignore` file configured to ignore the `book` directory created when [building] a book.
If not supplied, an interactive prompt will ask whether it should be created.
```bash
mdbook init --ignore=none
```
```bash
mdbook init --ignore=git
```
[building]: build.md