documentation framework
MDX with full control_
No content layer abstraction. Incremental builds that don't choke at scale. llms.txt and MCP support built-in.
---title: Authentication---import { ApiEndpoint } from "@/components"# OAuth 2.0Configure OAuth providers for SSO.<ApiEndpoint method="POST" path="/auth/token" />
why fromsrc
Documentation should be as flexible as the code it describes. We built fromsrc around four principles.
- 1.1composable
small pieces that combine freely. no monolithic architecture.
- 1.2editable
change anything without fighting the framework.
- 1.3customizable
swap any component, style, or behavior.
- 1.4optimized
incremental builds only. scales to thousands of files.
- direct component access in mdx
- incremental builds only
- llms.txt + mcp built-in
- sub-20ms search
- scales to 3k+ files
- open source forever
features
Built from developer pain points. No swizzling, no magic, no vendor lock-in.
- 01
incremental builds
only rebuild what changed. no 20-minute builds or memory crashes.
- 02
direct imports
import any component into mdx. no content layer abstraction.
- 03
sub-20ms search
full-text search with fuzzy matching and keyboard navigation.
- 04
shiki highlighting
vs code quality syntax. dual themes. line highlighting. diffs.
- 05
openapi generation
generate interactive api reference from your openapi spec.
- 06
own your primitives
sidebar, toc, code blocks. swap, style, or replace anything.
ai-native
Every docs page has raw content endpoints. Feed pages to AI tools, get docs for RAG, or connect via MCP.
/docs/auth.mdraw markdown/docs/auth/llms.txtai-optimized/llms.txtall docs/mcpreal-time
curl fromsrc.com/docs/auth/llms.txt# Authentication
Secure your API with bearer tokens.
# OAuth 2.0
Configure OAuth providers for SSO...
components
Import, extend, or replace. No swizzling, no framework magic - just components.
- Sidebar
- TOC
- Code
- API
- Callout
- Tabs
- Steps
- Search