fix(docs): update mcp db with full set of documents - #1767
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Ignite UI MCP docs toolchain by adjusting the default OpenAI model used by the doc-compression scripts, improving resilience in the DB build “optional copy” step, and refreshing Angular docs baseline snippets to remove outdated component factory usage.
Changes:
- Switch default
--modelin allcompress-*-docs.tsscripts fromgpt-5.4-minitogpt-5.6-luna. - Make the “copy DB to docs-backend” step non-fatal by wrapping it in a
try/catchwith a warning. - Update Angular Excel Library baseline docs to drop
ComponentFactoryResolver/Injectorusage and useViewContainerRef.createComponent(...)directly.
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/igniteui-mcp/igniteui-doc-mcp/scripts/compress-wc-docs.ts | Changes default OpenAI model used for Web Components docs compression. |
| packages/igniteui-mcp/igniteui-doc-mcp/scripts/compress-react-docs.ts | Changes default OpenAI model used for React docs compression. |
| packages/igniteui-mcp/igniteui-doc-mcp/scripts/compress-blazor-docs.ts | Changes default OpenAI model used for Blazor docs compression. |
| packages/igniteui-mcp/igniteui-doc-mcp/scripts/compress-angular-docs.ts | Changes default OpenAI model used for Angular docs compression. |
| packages/igniteui-mcp/igniteui-doc-mcp/scripts/build-db.ts | Makes the optional backend DB copy step tolerant to failures. |
| packages/igniteui-mcp/igniteui-doc-mcp/docs_baseline/angular/excel-library.md | Updates Angular sample code to remove unused DI imports/constructor params. |
| packages/igniteui-mcp/igniteui-doc-mcp/docs_baseline/angular/excel-library-using-workbooks.md | Updates sample to use createComponent(IgxGridComponent) and removes unused DI imports/constructor params. |
| packages/igniteui-mcp/igniteui-doc-mcp/docs_baseline/angular/excel-library-using-cells.md | Updates Angular sample code to remove unused DI imports/constructor params. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: dkalinovInfra <130121354+dkalinovInfra@users.noreply.github.com>
Co-authored-by: dkalinovInfra <130121354+dkalinovInfra@users.noreply.github.com>
kdinev
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related Issue
Closes #
Type of Change
Affected Packages
igniteui-cli(packages/cli)@igniteui/cli-core(packages/core)@igniteui/angular-templates(packages/igx-templates)@igniteui/angular-schematics(packages/ng-schematics)@igniteui/mcp-server(packages/igniteui-mcp)Checklist
npm run test)npm run build)npm run lint)Additional Context