1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Generated by Cargo
# will have compiled files and executables
debug
target
# These are backup files generated by rustfmt
**/*.rs.bk
# macOS metadata sidecar files
.DS_Store
**/.DS_Store
# Book/images/ is tracked — PNGs land there from author
# capture work; check them in. PDFs in Book/ are re-included
# below (after the *.pdf ignore line) so the canonical
# companion-volume builds ship in git for readers.
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/
# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#
/db
/backup
# Claude Code tooling state (per-session task list, cache, prompt history).
# Lives next to the working tree but is environment-specific and shouldn't
# travel with commits.
/.claude
/book_sources
/inkhaven-artefacts
/inkhaven-backups
# PDFs dropped by Ctrl+B O ("take the book") into the launch cwd.
# Filename pattern is `<book-slug>-YYYYDDMM-HHMM.pdf`; these are
# generated outputs, never source.
*.pdf
# Book/ PDFs are checked in (canonical companion volume —
# readers should be able to download the rendered build
# from GitHub directly without compiling). The exception
# must follow the `*.pdf` line above to take effect.
!Book/**/*.pdf
# Rendered paragraph PNGs dropped by Ctrl+V R into the launch cwd
# (1.2.5+). Filenames are `<paragraph-slug>-YYYYDDMM-HHMM.png`
# (S = save current page) or
# `<paragraph-slug>-YYYYDDMM-HHMM-page-NNN.png` (A = save every
# page). The pattern matches the exact timestamp suffix rather
# than `*.png` so manuscript image assets (cover.png, figure.png,
# screen.png, etc.) stay tracked.
*--.png
*---page-*.png
# Crash reports + rescue companions (written to cwd/project on panic)
inkhaven-crash-*.hjson
*.inkhaven-rescue