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
-`toc`: Generate per-source `TOC.md` listing all documentation files (default: `true`)
82
96
83
97
**Source Options:**
84
98
85
-
-`repo`: Git URL
86
-
-`ref`: Branch, tag, or commit
87
-
-`include`: Glob patterns to copy, defaults to `"**/*.{md,mdx,markdown,mkd,txt,rst,adoc,asciidoc}"`,
99
+
-`repo`: Git URL (required)
100
+
-`id`: Unique identifier for the source (required)
101
+
-`ref`: Branch, tag, or commit (overrides default)
102
+
-`include`: Glob patterns to copy (overrides default)
88
103
-`exclude`: Glob patterns to skip
89
104
-`targetDir`: Optional path where files should be symlinked/copied to, outside `.docs`
90
-
-`targetMode`: Defaults to `symlink` on Unix and `copy` on Windows
91
-
-`required`: Whether missing sources should fail in offline/strict runs
92
-
-`maxBytes`: Maximum total bytes to materialize for the source
93
-
-`maxFiles`: Maximum total files to materialize for the source
105
+
-`targetMode`: `"symlink"` or `"copy"` (overrides default)
106
+
-`required`: Whether missing sources should fail (overrides default)
107
+
-`maxBytes`: Maximum total bytes to materialize (overrides default)
108
+
-`maxFiles`: Maximum total files to materialize (overrides default)
109
+
-`toc`: Generate per-source `TOC.md` listing all documentation files (overrides default)
94
110
95
111
> **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`.
0 commit comments