Skip to content

feat: concepts#1

Open
mirecad wants to merge 1 commit intomainfrom
feature/concepts
Open

feat: concepts#1
mirecad wants to merge 1 commit intomainfrom
feature/concepts

Conversation

@mirecad
Copy link
Copy Markdown
Member

@mirecad mirecad commented Mar 22, 2026

Summary

  • Added concepts.ts module that discovers and indexes all DotVVM concept documentation pages via the GitHub API (categories, subcategories, standalone pages)
  • Added fetchConceptDocs to fetcher.ts for fetching raw concept markdown with relative image reference handling
  • Added two new MCP server items in index.ts:
    • Resource dotvvm://concepts — returns a formatted index of all concept pages (data binding, routing, validation, viewmodels, security, layout, control development, etc.)
    • Tool get_dotvvm_concept_docs — fetches documentation for a specific concept page by path (e.g. data-binding/value-binding, routing/overview)

Test plan

  • Read the dotvvm://concepts resource and verify the index lists expected categories and pages
  • Call get_dotvvm_concept_docs with a valid path (e.g. data-binding/value-binding) and verify the docs are returned
  • Call get_dotvvm_concept_docs with an invalid path and verify the "did you mean" suggestions are returned
  • Verify caching works — second call should not hit GitHub API

🤖 Generated with Claude Code

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.

1 participant