The docs tree
Docs live in adocs/ directory inside the package, alongside the code:
docs/index.mdxis required. It is the plugin’s landing page. The docs site renders your body beneath a generated header (the install line, the declared permissions, and the list of items the plugin provides — all read from yourtai-plugin.yml, never hand-written).- Only
.mdxpages underdocs/, and raster images underdocs/images/. Any other file type is refused. Images must be raster —.png,.jpg,.jpeg,.gif, or.webp. SVG is refused for every plugin: an SVG is active content (a script-injection surface), not an inert image. - Links and image references must resolve within the tree. A relative link to a
page or image that is not in
docs/fails the gate.
Front matter
Every.mdx page begins with a front-matter block of exactly title and
description — nothing more, nothing less:
--- fence marker — those values are
re-emitted into the generated page’s own front matter, so a fence-breaking
character would corrupt it. title and description from docs/index.mdx become
the plugin page’s title and description (and feed the site’s llms.txt index).
First-party vs. third-party pages
The mdx a page may use depends on who publishes it:- First-party plugins (namespace
tai42) may use the full Mintlify component set in their bodies. - Third-party plugins are held to a safe markdown subset: no raw HTML or JSX
tags, no
import/export, no{ }expression containers, and link/image targets restricted tohttp(s)or an in-tree relative path (javascript:anddata:are refused). The docs site renders third-party content, and this subset is what keeps a published page from carrying an execution surface onto the site.
What to write, and what to leave central
A plugin page is a thin provider page. Document what is specific to your plugin — the items it provides, its settings, the extras to install. Do not re-document a platform feature your plugin plugs into; link to its central page instead. A tool extension links to Tools and extensions; a connector links to Connectors; and so on. The feature is documented once, centrally; your page is the provider’s own reference.See also
- The marketplace model — listings, items, versions, advisories.
- Publish and install — getting a plugin into a running server.
- Plugins — the rendered result: one page per listed plugin.

