Skip to content

chore(llms): trim LLM export + align label-scanning docs#331

Merged
moritzhartmeier merged 1 commit intomainfrom
ai-related-improvements
Mar 24, 2026
Merged

chore(llms): trim LLM export + align label-scanning docs#331
moritzhartmeier merged 1 commit intomainfrom
ai-related-improvements

Conversation

@raffaelefarinaro
Copy link
Copy Markdown
Contributor

Summary

Configure docusaurus-plugin-llms with ignoreFiles to shrink llms.txt / llms-full.txt and remove broken or redundant entries. Unify Cordova and .NET iOS label-scanning with the shared partial and list all supported platforms in _label-scanning.mdx.

Metrics (npm run build, docusaurus-plugin-llms)

Before After
Docs in LLM export 628 365
build/llms-full.txt (bytes) 2,209,701 1,863,056
build/llms-full.txt (lines) 44,249 37,985
  • Docs: −263 (~42%)
  • llms-full size: −346,645 B (~15.7%)
  • llms-full lines: −6,264

LLM export

  • Ignore docs/partials/** (no standalone routes)
  • Ignore docs/connector-guides/**
  • Ignore root docs/*.mdx redirect stubs to /sdks/web/*
  • Dedupe shared partial wrappers to sdks/web (core concepts, symbologies, migrations, system requirements, label-scanning, etc.)
  • Ignore entire sdks/titanium/**
  • Ignore selected Linux subtrees (MatrixScan*, ID, Parser, SparkScan, label-capture, barcode-selection)
  • Add label-scanning.md to Web-canonical dedup after Cordova / .NET iOS use the shared partial

Docs

  • _label-scanning.mdx: Available For includes Capacitor, Cordova, .NET Android, .NET iOS
  • cordova / net/ios label-scanning.md: use partial like other SDKs

Made with Cursor

Configure docusaurus-plugin-llms with ignoreFiles to shrink llms.txt /
llms-full.txt and remove broken or redundant entries. Unify Cordova and
.NET iOS label-scanning with the shared partial and list all supported
platforms in _label-scanning.mdx.

Metrics (npm run build, docusaurus-plugin-llms stats):
- Docs included in LLM export: 628 → 365 (−263, ~42% fewer files)
- build/llms-full.txt: 2,209,701 → 1,863,056 bytes (−346,645 B, ~15.7%)
- build/llms-full.txt lines: 44,249 → 37,985 (−6,264)

LLM export changes:
- Ignore docs/partials/** (no standalone routes)
- Ignore docs/connector-guides/**
- Ignore root docs/*.mdx that only redirect to /sdks/web/*
- Dedupe shared partial wrappers to sdks/web (core concepts, symbologies,
  migrations, system requirements, label-scanning, etc.)
- Ignore entire sdks/titanium/**
- Ignore selected Linux subtrees (MatrixScan, ID, Parser, SparkScan,
  label-capture, barcode-selection stubs)
- Add label-scanning.md to the Web-canonical dedup list after Cordova /
  .NET iOS use the shared partial

Docs:
- _label-scanning.mdx: Available For includes Capacitor, Cordova,
  .NET Android, .NET iOS (alphabetical by product)
- cordova/net ios label-scanning.md: use partial like other SDKs

Made-with: Cursor
@moritzhartmeier moritzhartmeier merged commit 8466401 into main Mar 24, 2026
1 check passed
@moritzhartmeier moritzhartmeier deleted the ai-related-improvements branch March 24, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants