Skip to content

chore(deps): bump docusaurus-plugin-llms from 0.2.2 to 0.4.0#4674

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/docusaurus-plugin-llms-0.4.0
Open

chore(deps): bump docusaurus-plugin-llms from 0.2.2 to 0.4.0#4674
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/docusaurus-plugin-llms-0.4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 7, 2026

Bumps docusaurus-plugin-llms from 0.2.2 to 0.4.0.

Release notes

Sourced from docusaurus-plugin-llms's releases.

v0.4.0

What's New

  • Append .md to llms.txt link URLs — Per the llmstxt.org spec, links in llms.txt now point to markdown versions of pages (e.g. /docs/intro.md instead of /docs/intro/). (#38)
  • Fix import/export in descriptions.mdx files starting with import or export statements no longer use those lines as page descriptions. (#39)
  • Added test coverage for import/export description extraction fix. (#40)

Breaking Change

addMdExtension defaults to true. All link URLs in generated llms.txt files will now have .md appended. To preserve the previous behavior, set addMdExtension: false in your plugin config.

Full Changelog: rachfop/docusaurus-plugin-llms@v0.3.1...v0.4.0

v0.3.1

Bug Fixes

  • #31 — Doubled docs/docs/ paths when routeBasePath: '/' and docs live in a nested docs/ subdirectory
  • #30trailingSlash: true not reflected in generated URLs

What Changed

Replaced the routeMap construction approach with suffix-based matching against Docusaurus's own routesPaths. This removes ~150 lines of production code (five edge-case helper functions) and makes URL resolution simpler and more correct across all common Docusaurus configurations.

Note: pathTransformation is now only applied as a fallback when a file cannot be matched to a known Docusaurus route. In most configurations, you no longer need it.

Thanks to @​scottamain for the fix!

v0.3.0 - Stability and Robustness Release

Highlights

This release focuses on stability, robustness, and addressing edge cases with 33 bug fixes across critical functionality, data integrity, path handling, and performance.

Critical Bug Fixes (GitHub Issues)

  • #19 PluginOptions type compatibility with Docusaurus - Added index signature to resolve TypeScript errors
  • #23 YAML encoding for special characters and emojis - Added proper YAML.stringify options
  • #25 includeOrder pattern matching - Now matches against both site-relative and docs-relative paths
  • #15 Numbered prefix handling - Uses Docusaurus resolved routes before manual prefix removal

Key Improvements

  • Windows Compatibility: Path length validation, proper path normalization
  • Large Site Support: Batch processing prevents OOM on sites with 1000+ pages
  • Type Safety: Improved TypeScript types, proper error handling
  • Input Validation: Comprehensive validation prevents crashes from invalid input
  • Pattern Matching: Flexible pattern matching supports multiple path formats
  • URL Handling: Robust URL construction with proper encoding and error handling
  • Frontmatter Parsing: Handles special characters, emojis, and edge cases

Testing

  • 300+ tests across 50 test files, all passing
  • Comprehensive test coverage for all bug fixes

... (truncated)

Commits
  • 5474825 chore: Release v0.4.0
  • f66ec8e Merge pull request #40 from rachfop/test/import-description-skip
  • c82d638 test: add tests for import/export description skip fix
  • 779953b Merge pull request #39 from adeelehsan/fix/skip-imports-in-description-extrac...
  • 36e1204 Merge pull request #38 from scottamain/feat/link-extension
  • ba9e43e Fix: skip import/export statements in description extraction
  • fece7eb feat: append .md to llms.txt link URLs per the llmstxt.org spec
  • 3a808cd feat: support multiple docs sections via docsDir array (#28) (#36)
  • bbfdf66 fix: pass preserveDirectoryStructure and related options through plugin conte...
  • 3892e63 fix: prevent double slash in URLs when baseUrl is root (#27) (#34)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 7, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 7, 2026 22:04
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Building Building Preview, Comment Jun 8, 2026 2:39pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

📖 Docs PR preview links

This PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here.

Bumps [docusaurus-plugin-llms](https://github.com/rachfop/docusaurus-plugin-llms) from 0.2.2 to 0.4.0.
- [Release notes](https://github.com/rachfop/docusaurus-plugin-llms/releases)
- [Changelog](https://github.com/rachfop/docusaurus-plugin-llms/blob/main/CHANGELOG.md)
- [Commits](rachfop/docusaurus-plugin-llms@v0.2.2...v0.4.0)

---
updated-dependencies:
- dependency-name: docusaurus-plugin-llms
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/docusaurus-plugin-llms-0.4.0 branch from 8188495 to 12d679b Compare June 8, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants