Skip to content

Commit 62455cb

Browse files
Add cross-references between Visibility component and AI-native docs
Generated-By: mintlify-agent
1 parent dff1d20 commit 62455cb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ai-native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Configure popular tools like [Cursor](/guides/cursor), [Claude Code](/guides/cla
2323

2424
### Discovering
2525

26-
Your site is automatically optimized for AI tools and search engines to help users discover your documentation. All pages send their content as Markdown to AI agents instead of HTML, which helps these tools process your content faster and use fewer tokens. Every page is also available to view as Markdown by appending `.md` to the URL.
26+
Your site is automatically optimized for AI tools and search engines to help users discover your documentation. All pages send their content as Markdown to AI agents instead of HTML, which helps these tools process your content faster and use fewer tokens. Every page is also available to view as Markdown by appending `.md` to the URL. Use the [`Visibility`](/components/visibility) component to tailor content for each audience—show UI instructions to human readers and API details to AI agents.
2727

2828
Mintlify hosts `llms.txt` and `skill.md` files for your documentation. These industry-standard files help LLMs respond efficiently with relevant information to user queries and provide a list of capabilities for agents to use, so that users are more successful with your product.
2929

components/visibility.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ keywords: ["visibility", "agents", "humans", "markdown", "AI", "conditional cont
66

77
Use the `Visibility` component to show different content to humans browsing your site versus AI agents consuming the markdown output. This lets you tailor information for each audience without maintaining separate pages.
88

9+
<Tip>Learn more about how Mintlify optimizes your docs for AI tools in [AI-native documentation](/ai-native).</Tip>
10+
911
On the web, content marked `for="humans"` renders normally and content marked `for="agents"` is hidden. In markdown output (such as `llms.txt`, `llms-full.txt`, and `.md` page views), the opposite applies—agent content is included and human-only content is removed.
1012

1113
## Example

0 commit comments

Comments
 (0)