docs: surface "Ask AI" by adding "assistant" to contextual.options#83
Open
lemEdouard wants to merge 1 commit into
Open
docs: surface "Ask AI" by adding "assistant" to contextual.options#83lemEdouard wants to merge 1 commit into
lemEdouard wants to merge 1 commit into
Conversation
The Assistant is enabled and actively billed on the Mintlify dashboard ($100/mo, 211 questions answered in the last cycle), but the "Ask AI" entry was missing from the docs site because "assistant" was not listed in contextual.options. Per Mintlify's current docs (mintlify.com/docs/ai/contextual-menu), the "assistant" value opens the assistant with the current page as context from the per-page menu. Adding it as the first option also makes it the default action. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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.
Summary
"assistant"as the first entry incontextual.optionsofdocs.json.Why
The Assistant is already enabled and billed on the Mintlify dashboard (current cycle: 211 questions, 203 answered properly, $100 spent — usage so far seems to come from the MCP server, not the docs UI). The
"assistant"value was however never present incontextual.optionsin this repo's history (verified viagit log -S '"assistant"'— zero matches). Per Mintlify's contextual-menu docs, listing"assistant"is what exposes the Ask AI action; putting it first also makes it the default action of the menu.We have not found a Mintlify changelog entry documenting a behavior change that would have hidden the button silently, so the most likely explanation is simply that this opt-in was missing from day one (the
contextualblock was committed in1d099b8"init mint" without"assistant").Test plan
🤖 Generated with Claude Code