xyd is an open-source docs framework for building documentation sites with MDX, themes, and plugins. It generates API reference from OpenAPI and GraphQL specs and includes search, analytics, and chat integrations.
Overview
xyd is presented as an open-source framework for ambitious documentation projects, aimed at teams that want to ship docs with simple configuration and a short setup path. It supports markdown and MDX content, SEO tags, syntax highlighting, search, and dark mode, with built-in themes and components to start from.
Development workflow centers on a plug-and-play dev server with hot reload and minimal upfront setup. Authors can extend layouts, components, and behavior, and add capabilities through a plugin ecosystem covering search, analytics, chat, and related needs.
API documentation can be produced automatically from OpenAPI and GraphQL specifications, with SDK generation called out as a built-in capability. Integrations mentioned for operating docs include analytics with LiveSession session replay, A/B testing through LaunchDarkly and GrowthBook, full-text search, and live chat hooks for Intercom, LiveChat, and Chatwoot.
Starter projects, examples, and deploy samples are offered for trying the framework. A global CLI install path is documented alongside optional downloads for macOS and a self-contained binary engine mentioned on the project site.
Key features
- Hot-reload documentation dev server
- OpenAPI and GraphQL API reference
- MDX and markdown content support
- Customizable components and layouts
- Plugin ecosystem for search and chat
- SDK generation from API specs
- Built-in analytics and A/B testing hooks
- Full-text search with typo tolerance
Use cases
- Product and developer documentation sites
- Interactive API reference from specs
- Migrating from other docs frameworks
- Teams wanting bundled docs tooling