Skip to content

Commit 2d10480

Browse files
committed
docs(llms-txt): document writeMarkdown and writeFull, add a changeset
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2340f9d commit 2d10480

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎.changeset/llms-full.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@doc-kit/generator-react': minor
3+
---
4+
5+
Add the `writeMarkdown` and `writeFull` options to the `llms-txt` generator, writing the Markdown of every page at the URLs `llms.txt` links, and a `llms-full.txt` file holding them all.

‎packages/react/src/llms-txt/README.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ The `llms-txt` generator creates a `llms.txt` file to provide information to Lar
88
- `templatePath` {string} Path to the template file.
99
**Default:** `'template.txt'`.
1010
- `pageURL` {string} URL template for documentation page links.
11-
**Default:** `'{baseURL}/latest/api{path}.md'`.
11+
**Default:** `'{baseURL}{path}.md'`.
12+
- `writeMarkdown` {boolean} Write the Markdown of every page at `{path}.md`,
13+
where `pageURL` links by default.
14+
**Default:** `false`.
15+
- `writeFull` {boolean} Write `llms-full.txt`, holding the Markdown of every
16+
page, each preceded by its URL.
17+
**Default:** `false`.

0 commit comments

Comments
 (0)