From c43f3dff20a1284e58ab9788dc7fb572204ec3ee Mon Sep 17 00:00:00 2001 From: mrholek Date: Mon, 27 Jul 2026 17:30:26 +0200 Subject: [PATCH] docs: carry two fixes over from the pro docs The chart components render custom HTML tooltips by default and the styles ship in @coreui/chartjs, which the docs never load, so the tooltip is unstyled; and the MCP page still lists three editions, while the server now serves Angular too. --- packages/docs/src/content/docs/ai-tools/mcp.mdx | 4 ++-- packages/docs/src/content/docs/components/chart/index.mdx | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/content/docs/ai-tools/mcp.mdx b/packages/docs/src/content/docs/ai-tools/mcp.mdx index 9d657eed..1dd87f46 100644 --- a/packages/docs/src/content/docs/ai-tools/mcp.mdx +++ b/packages/docs/src/content/docs/ai-tools/mcp.mdx @@ -13,7 +13,7 @@ It provides: - **Component documentation** — pages, props, events, and slots. - **Live content** — read on demand from `coreui.io`, always matching the latest release. - **Cross-framework links** — where each component is documented for Angular, Bootstrap, React, and Vue. -- **Coverage of Bootstrap, React, and Vue** from a single server. +- **Coverage of Angular, Bootstrap, React, and Vue** from a single server. The server runs locally over stdio via `npx` — no global install required. @@ -118,7 +118,7 @@ Once connected, your assistant can call the following tools: | Flag | Environment variable | Default | Description | | --- | --- | --- | --- | -| `--framework ` | `COREUI_DOCS_FRAMEWORKS` | `bootstrap,react,vue` | Enabled editions (comma-separated). The first is the default for tools. | +| `--framework ` | `COREUI_DOCS_FRAMEWORKS` | `angular,bootstrap,react,vue` | Enabled editions (comma-separated). The first is the default for tools. | | `--base-url ` | `COREUI_DOCS_BASE_URL` | `https://coreui.io` | Origin of the CoreUI site. The `//docs` path is appended automatically — override only for a staging or self-hosted mirror. | | `--ttl ` | `COREUI_DOCS_TTL_MINUTES` | `360` | Cache freshness window. | | — | `COREUI_DOCS_CACHE_DIR` | OS cache directory | On-disk cache location. | diff --git a/packages/docs/src/content/docs/components/chart/index.mdx b/packages/docs/src/content/docs/components/chart/index.mdx index 72beb4a6..533600bf 100644 --- a/packages/docs/src/content/docs/components/chart/index.mdx +++ b/packages/docs/src/content/docs/components/chart/index.mdx @@ -2,6 +2,8 @@ title: "React Chart.js Component" name: "Chart" description: "React wrapper for Chart.js 4.x, the most popular charting library." +css: + - "https://cdn.jsdelivr.net/npm/@coreui/chartjs@4.2.0/dist/css/coreui-chartjs.min.css" --- import { ChartLineExample } from './examples/ChartLineExample'