feat: add ai context menu #40
Open
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.
Adds mintlifys context menu to make it easier for people to use ai together with helix :D
Greptile Overview
Greptile Summary
Added Mintlify's contextual menu configuration to enable AI assistant integrations directly from documentation pages.
Key Changes:
copy,chatgpt,claude, andmcp$pathvariable to reference current pageImplementation Quality:
Assessment:
The implementation is clean, syntactically correct, and ready to merge. No issues found.
Important Files Changed
File Analysis
Sequence Diagram
sequenceDiagram participant User participant DocsPage as Docs Page participant ContextMenu as Context Menu participant T3Chat as T3 Chat participant ChatGPT participant Claude participant MCP as MCP Server User->>DocsPage: Visit documentation page User->>ContextMenu: Right-click/open context menu ContextMenu-->>User: Display options (copy, chatgpt, claude, T3, mcp) alt User selects Copy User->>ContextMenu: Select "copy" ContextMenu->>User: Copy page content to clipboard end alt User selects ChatGPT User->>ChatGPT: Open with page context ChatGPT-->>User: Ready to answer questions end alt User selects Claude User->>Claude: Open with page context Claude-->>User: Ready to answer questions end alt User selects T3 Chat User->>T3Chat: Navigate to https://t3.chat/new Note over T3Chat: Query: "Read from https://docs.helix-db.com/$path" T3Chat->>DocsPage: Fetch page content DocsPage-->>T3Chat: Return page content T3Chat-->>User: Ready to answer questions about page end alt User selects MCP User->>MCP: Connect via MCP protocol MCP-->>User: Ready for AI interactions end