@signalwire/docusaurus-plugin-llms-txt
Version:
Generate Markdown versions of Docusaurus HTML pages and an llms.txt index file
79 lines (53 loc) • 2.7 kB
Markdown
# @signalwire/docusaurus-plugin-llms-txt
## 1.2.2
### Patch Changes
- Remove minimatch dependecy, and glob validation. Validation logic did not work as intended.
## 1.2.1
### Patch Changes
- Caching system improvements and bug fixes
**Caching Enhancements:**
- Implement smarter caching strategy with better invalidation logic
- Add new cache-filter.ts module for unified filtering in build and CLI contexts
- Improve cache I/O operations with better error handling
- Enhanced cache validation mechanisms
- Add logger parameter to CacheManager for better debugging
- Optimize processing coordinator for better performance with cached routes
**Performance Improvements:**
- Add concurrent route processing using p-map for faster generation
- Create route lookup table for improved link resolution performance
- Simplify route matcher logic (removed redundant code)
**Bug Fixes:**
- Fix route matcher logic that was causing excessive filtering
- Fix HTML parsing edge cases in transformation pipeline
- Fix link transformation to respect all content exclusion filters
- Fix route validator to properly handle versioned docs and generated indexes
- Add missing minimatch dependency
**Route Processing Enhancements:**
- Significant improvements to route rule configuration handling
- Better glob pattern support and validation with custom validators
- Enhanced route processor with concurrent processing capabilities
- Add route lookup functionality for better cross-referencing
**Error Messages:**
- Improve user-facing error messages with troubleshooting steps
- Better error reporting for invalid glob patterns
- More helpful messages for common CLI issues
**Code Quality:**
- Multiple code formatting improvements across all modules
- Fix all linting errors
- Consistent code style throughout the codebase
**Internal Changes:**
- Simplify content classifier logic
- Refactor route processing for better maintainability
- Add ContentType union type for better type safety
- Enhanced logging in cache filtering operations
- Move route matching logic to appropriate modules for better organization
## 1.2.0
## 1.2.0
### Minor Changes
- Add versioned docs and generated index filtering options
- Add `includeVersionedDocs` option to control whether versioned docs are included (default: true)
- Add `includeGeneratedIndex` option to control whether generated category index pages are
included (default: true)
- Fix route plugin info restoration after Docusaurus flattening
- Ensure link transformations respect all content exclusion filters
- Improve cache invalidation for route count changes