You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Documentation is cached in a gitignored location, exposed to agent and tool targ
19
19
-**Fast**: Local cache avoids network roundtrips after sync.
20
20
-**Flexible**: Cache full repos or just the subdirectories you need.
21
21
22
-
> **Note**: Sources are downloaded to a local cache. If you provide a `targetDir`, `docs-cache` creates a symlink or copy from the cache to that target directory. The target should be outside `.docs`.
22
+
> **Note**: Sources are downloaded to a local cache. If you provide a `targetDir`, `docs-cache` creates a symlink or copy from the cache to that target directory.
23
23
24
24
## Usage
25
25
@@ -99,9 +99,7 @@ All fields in `defaults` apply to all sources unless overridden per-source.
99
99
|`maxBytes`| Maximum total bytes to materialize. Default: `200000000` (200 MB). |
100
100
|`maxFiles`| Maximum total files to materialize. |
> **Note**: Git operation timeout can be configured via the `--timeout-ms` CLI flag (default: 120000ms / 2 minutes).
102
+
|`toc`| Generate per-source `TOC.md`. Default: `true`. Supports `true`, `false`, or a format (`"tree"`, `"compressed"`). |
105
103
106
104
### Source options
107
105
@@ -124,7 +122,7 @@ All fields in `defaults` apply to all sources unless overridden per-source.
124
122
|`required`| Whether missing sources should fail. |
125
123
|`maxBytes`| Maximum total bytes to materialize. |
126
124
|`maxFiles`| Maximum total files to materialize. |
127
-
|`toc`| Generate per-source `TOC.md` listing all documentation files. |
125
+
|`toc`| Generate per-source `TOC.md`. Supports `true`, `false`, or a format (`"tree"`, `"compressed"`).|
128
126
129
127
> **Note**: Sources are always downloaded to `.docs/<id>/`. If you provide a `targetDir`, `docs-cache` will create a symlink or copy pointing from the cache to that target directory. The target should be outside `.docs`. Git operation timeout is configured via the `--timeout-ms` CLI flag, not as a per-source configuration option.
0 commit comments