Sourcey
Docs straight from the source.
Sourcey turns OpenAPI, MCP, Doxygen XML, godoc, rustdoc, and Markdown into one static HTML site you own: reference, guides, changelog, roadmap, and llms.txt from the same build, deployable anywhere.
Everything renders at build time: no dashboard, no runtime, no API calls to render your own documentation.

npx sourcey init

Live demo · Documentation · GitHub
Features
- OpenAPI 2.0, 3.0, 3.1, and 3.2: full spec coverage including
QUERY operations, response summaries, hierarchical tags, deviceAuthorization OAuth, querystring parameters, and $self-aware refs for multi-document APIs
- API reference from OpenAPI: endpoints, parameters, request/response schemas, and auto-generated code samples across 10 supported languages. The default set is cURL, JavaScript, and Python; configure TypeScript, Go, Ruby, Java, PHP, Rust, and C# when you want them
- MCP server documentation: tools, resources, prompts rendered as browsable reference with JSON-RPC, TypeScript, and Python code samples. Color-coded method types, annotation badges, connection config cards
- Rich guides: markdown pages with steps, cards, accordions, syntax-highlighted code blocks, and prose alongside your API reference
- One-time migration: convert an existing Astro, MkDocs, Docusaurus or Mintlify documentation project to native Sourcey Markdown and configuration, with a dry-run diff and checks for routes, fragments, content and media. Migration guide
- Product story pages: changelog, roadmap pages, examples, reference material, search, and portable context exports in one source-owned site
- C++ and Doxygen: feed Doxygen XML output, get modern searchable API docs with exact member search, source links, templates, qualifiers, examples, inherited members, and relationship sections. No new parser, no four-tool Breathe/Exhale/Sphinx pipeline
- Go and godoc: native package documentation extracted from Go source via the toolchain. Render Go modules as Sourcey tabs, generate standalone static Go docs sites, or commit
godoc.json snapshots for JS-only docs hosts. No Doxygen detour
- Rust and rustdoc: native API documentation from nightly rustdoc JSON, with doctests as a first-class extracted view. URL-encoded parametric impl anchors for deep-link parity with doc.rust-lang.org. Snapshot mode lets CI build on stable Rust toolchains. Aggregated doctests index across the workspace
- Readable reference for agents: Markdown for pages, API operations and schemas, plus
documents.json, llms.txt and llms-full.txt. Code examples retain their formatting
- API and agent discovery: opt into public OpenAPI bundles, ARD manifests and RFC 9727 API catalogs. Mounted docs keep the host's root manifest under its owner's control. Configuration
- Docs over MCP: the optional
sourcey-docs-mcp package searches and reads a built documentation directory. Its SDK stays out of the generator and browser bundle
- TypeScript config:
sourcey.config.ts with defineConfig() autocomplete; theme, navbar, CTA buttons, footer
- Themes: default (sidebar + TOC), minimal (single column), api-first (full width, with examples beside each API operation), and reader (editorial specification); colors, fonts, layout dimensions, and custom CSS on top
- Vite dev server: SSR hot reload on every component and CSS change; spec and markdown changes trigger instant refresh
- Light and dark: semantic design tokens, light and dark logo variants, the reader's choice saved and applied before the page draws
- Search in the browser: full-text and typo-tolerant across every page, operation and symbol, loaded in shards as it is needed; Cmd+K
- Static HTML output: no framework runtime, no vendor lock-in. Deploy to GitHub Pages, Vercel, Netlify, S3, anywhere
- Open source: AGPL-3.0. Self-host, fork, extend. Your docs, your infrastructure
Install
Sourcey CLI
The full Sourcey binary handles OpenAPI, MCP, Doxygen, godoc, rustdoc, and Markdown sources. Existing Astro, MkDocs, Docusaurus and Mintlify projects have one-time converters.