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: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,19 @@
1
1
# Changelog
2
2
3
+
## 0.10.0 (2025-10-27)
4
+
-[Feature]**llms.txt Specification Compliance** - Updated output format to fully comply with the llms.txt specification from llmstxt.org.
5
+
-**Metadata Format**: Metadata now appears within the description field using parentheses and comma separators: `- [title](url): description (tokens:450, updated:2025-10-13, priority:high)`
6
+
-**Optional Descriptions**: Parser now correctly handles links without descriptions: `- [title](url)` per spec
7
+
-**Multi-Section Support**: Documents automatically organized into `Documentation`, `Examples`, and `Optional` sections based on priority
8
+
-**Body Content Support**: Added optional `body` config parameter for custom content between description and sections
- Empty sections are automatically omitted from output
11
+
- Updated parser regex from `/^[-*]\s*\[([^\]]+)\]\(([^)]+)\):\s*(.*)$/m` to `/^[-*]\s*\[([^\]]+)\]\(([^)]+)\)(?::\s*([^\n]*))?$/` to make descriptions optional
12
+
- Fixed multiline regex greedy matching issue that was capturing only one link per section
13
+
-[Test] Added comprehensive test suite for spec compliance (8 new parser tests, 7 new generator tests)
14
+
-[Docs] Updated README with multi-section organization examples and body content usage
15
+
-**Breaking Change**: Metadata format has changed from `tokens:450 updated:2025-10-13` to `(tokens:450, updated:2025-10-13)` for spec compliance
16
+
3
17
## 0.9.4 (2025-10-27)
4
18
-[Feature]**Auto-Exclude Hidden Directories** - Hidden directories (starting with `.`) are now automatically excluded by default to prevent noise from `.git`, `.lint`, `.github`, etc.
5
19
- Adds `include_hidden: false` as default behavior
calculate_compression: true # Show compression ratios (slower, requires transformation)
310
311
```
311
312
313
+
**Note:** Metadata is formatted according to the llms.txt specification, appearing within the description field using parentheses and comma separators for spec compliance.
314
+
315
+
### Multi-Section Organization
316
+
317
+
Documents are automatically organized into multiple sections based on priority, following the llms.txt specification:
318
+
319
+
**Priority-based categorization:**
320
+
- **Documentation** (priority 1-3): Essential docs like README, getting started guides, user guides
321
+
- **Examples** (priority 4-5): Tutorials and example files
322
+
- **Optional** (priority 6-7): Advanced topics and reference documentation
- [Advanced Topics](advanced.md): Deep dive into advanced features
343
+
- [API Reference](reference.md): Complete API reference
344
+
```
345
+
346
+
Empty sections are automatically omitted. The "Optional" section aligns with the llms.txt spec for marking secondary content that can be skipped when context windows are limited.
347
+
348
+
### Body Content
349
+
350
+
Add custom body content between the description and documentation sections:
351
+
352
+
```yaml
353
+
# llm-docs-builder.yml
354
+
title: My Project
355
+
description: Brief description
356
+
body: |
357
+
This framework is built on Ruby and focuses on performance.
358
+
Key concepts: streaming, batching, and parallel processing.
359
+
docs: ./docs
360
+
```
361
+
362
+
This produces:
363
+
```markdown
364
+
# My Project
365
+
366
+
> Brief description
367
+
368
+
This framework is built on Ruby and focuses on performance.
369
+
Key concepts: streaming, batching, and parallel processing.
370
+
371
+
## Documentation
372
+
...
373
+
```
374
+
312
375
## Advanced Compression Options
313
376
314
377
All compression features can be used individually for fine-grained control:
0 commit comments