Skip to content

chore: deduplicate the agent hint blocks into snippets - #458

Merged
adidottxt merged 1 commit into
mainfrom
adi/chore-dedupe-agent-hint-snippets
Aug 13, 2026
Merged

chore: deduplicate the agent hint blocks into snippets#458
adidottxt merged 1 commit into
mainfrom
adi/chore-dedupe-agent-hint-snippets

Conversation

@adidottxt

Copy link
Copy Markdown
Contributor

Four of the <Visibility for="agents"> blocks added in #454 were byte-identical in two pairs:

  • getting-started/quickstart.mdx and applications/deploy/deploy-from-github-repo.mdx
  • mcp/overview.mdx and mcp/tools.mdx

Each pair moves into a snippet (snippets/agent-hint-create-app.mdx, snippets/agent-hint-mcp.mdx), so the create_app guidance has one source per audience instead of four copies to keep in sync.

No text changes — the snippet bodies are the current blocks verbatim.

The connect-github, applications/deploy/overview, and deploy-from-docker-registry hints stay inline; each is worded for its own page.

Needs a preview check: that a snippet renders inside <Visibility for="agents"> — specifically that the text still appears in the .md export and still does not appear in the rendered page.

Four of the <Visibility for="agents"> blocks were byte-identical in two
pairs, so a change to the create_app guidance meant editing the same
text in four places. Extracts each pair into a snippet.
@mintlify

mintlifyBot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

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

ProjectStatusPreviewUpdated (UTC)
porter🟢 ReadyView PreviewAug 13, 2026, 8:16 PM

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

@adidottxt
adidottxt merged commit b1d5def into mainAug 13, 2026
2 checks passed
@adidottxt
adidottxt deleted the adi/chore-dedupe-agent-hint-snippets branch August 13, 2026 20:28
Sign up for freeto 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.

2 participants

@adidottxt@portersupport