Skip to content

Add LLM-Friendly Documentation with llms.txt Generation#1029

Merged
mwojtyczka merged 5 commits intomainfrom
feature/add-llmstxt
Mar 3, 2026
Merged

Add LLM-Friendly Documentation with llms.txt Generation#1029
mwojtyczka merged 5 commits intomainfrom
feature/add-llmstxt

Conversation

@sundarshankar89
Copy link
Collaborator

Summary

Integrated the @signalwire/docusaurus-plugin-llms-txt plugin (v2.0.0-alpha.7) to automatically generate AI-accessible documentation during the build process. This enables AI assistants and LLM-powered tools to easily consume DQX documentation through standardized llms.txt format with hierarchical organization.


Key Changes

Added @signalwire/docusaurus-plugin-llms-txt@2.0.0-alpha.7 with comprehensive v2.0 configuration:

Section Structure:

1. Home           → DQX homepage
2. User Guide     → /docs/guide/** (all feature guides)
3. Reference      → /docs/reference/** (API, CLI, profiler, benchmarks)
4. Development    → /docs/dev/** (contributing, authoring)
5. Demos          → /docs/demos (example implementations)

Access Endpoints

Once deployed to GitHub Pages:

Tests

  • manually tested
  • added unit tests
  • added integration tests
  • added end-to-end tests
  • added performance tests

@sundarshankar89 sundarshankar89 self-assigned this Feb 12, 2026
@sundarshankar89 sundarshankar89 requested a review from a team as a code owner February 12, 2026 14:55
@sundarshankar89 sundarshankar89 requested review from nehamilak-db and removed request for a team February 12, 2026 14:55
@sundarshankar89 sundarshankar89 added the documentation Improvements or additions to documentation label Feb 12, 2026
@sundarshankar89 sundarshankar89 changed the title add llmstxt Add LLM-Friendly Documentation with llms.txt Generation Feb 12, 2026
@sundarshankar89 sundarshankar89 requested review from a team and mwojtyczka February 12, 2026 14:55
@github-actions
Copy link

github-actions bot commented Feb 12, 2026

✅ 602/602 passed, 36 skipped, 6h18m2s total

Running from acceptance #4030

@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.81%. Comparing base (1b0c113) to head (9df255f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1029      +/-   ##
==========================================
+ Coverage   91.54%   91.81%   +0.26%     
==========================================
  Files          98       98              
  Lines        8945     8945              
==========================================
+ Hits         8189     8213      +24     
+ Misses        756      732      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@mwojtyczka mwojtyczka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea to add llms.txt support — it makes DQX docs easily consumable by AI tooling. A couple of configuration concerns and one dependency issue worth addressing.

yarn.lock — duplicate package resolutions: The lockfile now has two separate entries that resolve to different versions of the same semver range:

  • remark-gfm@^44.0.1 (new) and remark-gfm@^4.0.04.0.0 (existing)
  • unist-util-visit@^55.1.0 (new) and unist-util-visit@^5.0.05.0.0 (existing)

Both ranges (^4 and ^4.0.0) are semantically identical, so yarn should have resolved them to the same version. Running yarn dedupe remark-gfm and yarn dedupe unist-util-visit after adding the dependency would collapse these to a single version and reduce bundle size.

@sundarshankar89
Copy link
Collaborator Author

Good idea to add llms.txt support — it makes DQX docs easily consumable by AI tooling. A couple of configuration concerns and one dependency issue worth addressing.

yarn.lock — duplicate package resolutions: The lockfile now has two separate entries that resolve to different versions of the same semver range:

  • remark-gfm@^44.0.1 (new) and remark-gfm@^4.0.04.0.0 (existing)
  • unist-util-visit@^55.1.0 (new) and unist-util-visit@^5.0.05.0.0 (existing)

Both ranges (^4 and ^4.0.0) are semantically identical, so yarn should have resolved them to the same version. Running yarn dedupe remark-gfm and yarn dedupe unist-util-visit after adding the dependency would collapse these to a single version and reduce bundle size.

addressed these review comments, we are usign alpha release now since that has the required capabities for generated nested md for every routes.

@sundarshankar89
Copy link
Collaborator Author

@mwojtyczka is there a permission issue which is causing the CI to fail?

Copy link
Contributor

@mwojtyczka mwojtyczka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mwojtyczka mwojtyczka merged commit d0db6ae into main Mar 3, 2026
19 of 20 checks passed
@mwojtyczka mwojtyczka deleted the feature/add-llmstxt branch March 3, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants