Skip to content

Commit e0d398e

Browse files
Add subdomain specification documentation for AI agent (#1428)
* Update ai/agent.mdx * Update ai/agent.mdx * Update ai/agent.mdx * copyedits --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <[email protected]>
1 parent ae561d8 commit e0d398e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

ai/agent.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ Use broad prompts for general content maintenance like fixing typos, updating re
5656
- `@mintlify Find and fix all typos in the docs`
5757
- `@mintlify change all unordered lists to use * instead of -`
5858

59+
## Specify a subdomain
60+
61+
If you have multiple documentation sites with their own subdomains, include the `subdomain` parameter in your message to specify which subdomain the agent should work on.
62+
63+
Use the format `@mintlify subdomain=<your-subdomain> <your-prompt>` to prompt the agent to work on a specific subdomain.
64+
65+
Examples:
66+
67+
- `@mintlify subdomain=public-docs Add a new section to the quickstart about inviting collaborators based on this PR`: Prompts the agent to update the quickstart only on the `public-docs` subdomain.
68+
- `@mintlify subdomain=customer-docs Update the auth docs for the new authentication method`: Prompts the agent to update the auth docs only on the `customer-docs` subdomain.
69+
5970
## Agent workflows
6071

6172
The agent assists with many different documentation tasks. These workflows show some of the ways you can integrate the agent into your documentation process. Try an approach that fits how your team currently works and adapt it to your specific needs.

0 commit comments

Comments
 (0)