Teamspace Rules are a Pro feature. Only owners and admins can add, edit, or delete rules; developers have read-only access.
Rule Scopes
Each rule applies at one of two scopes:- Global Rules — apply to every library your teamspace accesses.
- Library-Specific Rules — apply only when retrieving docs for a particular library.
Examples
- “Always use TypeScript strict mode”
- “Prefer server components in Next.js”
- “Use the App Router, not the Pages Router”
Adding a Rule
- Open the rules tab and click Add Rule…
- Choose the scope — Global or a specific Library.
- Enter the rule text.
- Save. The rule takes effect on the next documentation request made with the teamspace’s API keys.