docs(build-system/docs-template): add MCP and CLI consumer guides - #930
Merged
Merged
Conversation
raininforest
commented
Sep 22, 2026
Collaborator
- Добавлена документация MCP и CLI в шаблоны документации
- Небольшие улучшения в theme-builder
Add mcp.md and cli.md to common-template so every generated site (Compose and XML) documents how an external design-system consumer connects an AI agent via MCP and installs/uses the dsbuilder CLI. Both compose-template and xml-template ship their own sidebars.ts that override common-template's copy on generation, so the new 'cli'/'mcp' sidebar entries (CLI before MCP, since the MCP quick start depends on the CLI being installed) had to be added to all three sidebars.ts. Both quick_start.md files link to the new pages as two separate items.
…cope Bring proposal/design/spec/tasks in line with the actual mcp.md/cli.md content after several rounds of scope correction: theme fetch and components fetch are a consumer pull scenario (not a maintainer write scenario like components push/docs publish), MCP is documented only in the context of the CLI (no npx/no-CLI fallback), and the quick start now has an explicit numbered "run the server" step.
…on classpath GenerateComponentsTask previously completed successfully without generating any component styles if a module declared non-empty components but the corresponding uikit-*-api-meta.json wasn't on the compile classpath (missing sdds-uikit/sdds-uikit-compose dependency). Add requireUikitMetaPresent, which throws ThemeBuilderException with an actionable message per target (Compose/View) instead of silently producing no output. ViewMetaIndex gains isEmpty to support the check on the View side.
raininforest
requested review from
SerraMorec,
angirb and
malilex
as code owners
September 22, 2026 12:40
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
salutedevs
reviewed
Sep 22, 2026
salutedevs
reviewed
Sep 22, 2026
salutedevs
reviewed
Sep 22, 2026
salutedevs
reviewed
Sep 22, 2026
salutedevs
approved these changes
Sep 22, 2026
raininforest
force-pushed
the
feature/improve-user-flow
branch
from
September 23, 2026 07:59
e201283 to
06f718b
Compare
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.