Skip to content

docs: surface "Ask AI" by adding "assistant" to contextual.options#83

Open
lemEdouard wants to merge 1 commit into
mainfrom
feat/add-assistant-to-contextual-options
Open

docs: surface "Ask AI" by adding "assistant" to contextual.options#83
lemEdouard wants to merge 1 commit into
mainfrom
feat/add-assistant-to-contextual-options

Conversation

@lemEdouard

Copy link
Copy Markdown
Collaborator

Summary

  • Adds "assistant" as the first entry in contextual.options of docs.json.
  • Restores / enables the "Ask AI" entry in the per-page contextual menu on developer.lemlist.com.

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 in contextual.options in this repo's history (verified via git 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 contextual block was committed in 1d099b8 "init mint" without "assistant").

Test plan

  • Merge → wait for Mintlify rebuild
  • Visit developer.lemlist.com, open any docs page, click the contextual menu next to the title — confirm "Ask AI" appears (and is the default)
  • Ask a question, verify it gets answered and the question shows up in the Mintlify Assistant dashboard counter

🤖 Generated with Claude Code

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>
@lemEdouard lemEdouard self-assigned this May 26, 2026
@mintlify

mintlify Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lemlist 🟢 Ready View Preview May 26, 2026, 3:40 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

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