Files
Ethan Palm 455ec265cd Swap the hero install command for a collapsible agent setup prompt
The introduction hero now leads with the full "set up Mintlify with your agent"
prompt from the quickstart instead of `npm i -g mint`. It lands collapsed to
four lines behind a fade and expands in place, with Copy prompt and Open in
Cursor reachable in both states — reading the prompt is optional, running it is
the point.

The prompt text now also exists as a string in
snippets/setup-agent-prompt-text.mdx, because the built-in <Prompt> component
serializes its children's source rather than evaluating them and so cannot be
handed a variable. Both copies must be edited together;
.github/workflows/check-prompt-sync.yml fails the build if they drift.

The quickstart's <Prompt> card is unchanged, byte for byte.
2026-08-07 16:50:31 -07:00
..