> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Fern Docs > Create API references, custom components, and AI-powered features in under 5 minutes. Fern Docs includes a component library, generated API references, Ask Fern, MCP, RBAC, localization, self-hosting, analytics, and more. Build a docs site quickly by importing your existing styling and specs. [Quickstart](/learn/docs/getting-started/quickstart): Set up a docs site in under 5 minutes. #### [How it works](/learn/docs/getting-started/how-it-works) How your Markdown and API specs become a published site #### [Project structure](/learn/docs/getting-started/project-structure) The files and folders in a Fern Docs project ## Capabilities #### [Component library](/learn/docs/writing-content/components/overview) Accordions, tabs, callouts, code blocks, and dozens more #### [Reusable snippets](/learn/docs/writing-content/reusable-snippets) Write content once and reuse it across pages #### [Fern Editor](/learn/docs/writing-content/fern-editor) Visual editing for teammates without Git access #### [Navigation](/learn/docs/configuration/navigation-overview) Sections, tabs, versions, and products in one file #### [Changelog pages](/learn/docs/configuration/changelogs) Dated release entries with tag filtering and RSS #### [API References](/learn/docs/api-references/overview) Generate references from OpenAPI, AsyncAPI, gRPC, and more #### [API Explorer](/learn/docs/api-references/api-explorer) Send real requests with prefilled auth #### [Ask Fern](/learn/docs/ai-features/ask-fern/overview) AI search that answers reader questions #### [MCP server](/learn/docs/ai-features/mcp-server) Connect Claude Code, Cursor, and other AI clients #### [Markdown access](/learn/docs/ai-features/markdown) Serve every page as Markdown, plus `llms.txt` #### [Agent skills](/learn/docs/ai-features/agent-skills) Teach coding agents to author your docs #### [Fern Agent](/learn/docs/ai-features/fern-agent) Ships docs pull requests from the dashboard, Slack, or MCP #### [Search](/learn/docs/customization/search) Algolia-backed search with custom filtering and ranking #### [Custom CSS, JS, and React](/learn/docs/customization/custom-css-js) Style and extend your site with custom code #### [Global themes](/learn/docs/customization/global-themes) Define branding once and apply it across child sites #### [Authentication](/learn/docs/authentication/overview) Protect your docs with a password, SSO, JWT, or OAuth #### [Role-based access control](/learn/docs/authentication/features/rbac) Show content based on each reader's role #### [Localization](/learn/docs/localization/overview) Ship docs in multiple languages from a single source #### [Multi-source docs](/learn/docs/preview-publish/multi-source-docs) Publish one site from multiple repositories #### [Previews](/learn/docs/preview-publish/preview-changes) A local dev server and shareable preview links #### [Custom domains](/learn/docs/preview-publish/setting-up-your-domain) Serve your docs from your own subdomain or subpath #### [Self-hosting](/learn/docs/self-hosted/overview) Deploy on your own infrastructure #### [Analytics and integrations](/learn/docs/integrations/overview) Forward events to PostHog, Segment, Mixpanel, and more #### [SEO and GEO](/learn/docs/seo/overview) Control metadata, slugs, redirects, and `robots.txt` #### [Accessibility](/learn/docs/accessibility/overview) WCAG 2.1 AA contrast, keyboard navigation, and screen readers ## Frequently Asked Questions ### What can I build with Fern Docs? Fern Docs lets you build a complete developer documentation site: write pages in Markdown, generate API references from OpenAPI or other specs, add interactive components, enable AI search with Ask Fern, protect content with authentication and role-based access control, localize into multiple languages, and publish to a custom domain. ### Does Fern Docs support API reference generation? Yes. Fern Docs generates interactive API reference pages from OpenAPI, AsyncAPI, gRPC, and OpenRPC specifications. The API Explorer lets readers send real requests directly from the docs with prefilled authentication. ### Can I password-protect or restrict access to my Fern docs? Yes. Fern Docs supports password protection, SSO, JWT, and OAuth for authentication. Role-based access control (RBAC) lets you show or hide specific content based on each reader's role. ### Does Fern Docs support multiple languages (localization)? Yes. Fern Docs has built-in localization support, allowing you to ship documentation in multiple languages from a single source repository. ### Can I self-host Fern Docs on my own infrastructure? Yes. Fern Docs supports self-hosting so you can deploy the documentation site on your own servers or cloud infrastructure. ### What analytics integrations does Fern Docs support? Fern Docs can forward analytics events to PostHog, Segment, Mixpanel, and other providers. The Fern Dashboard also provides built-in traffic analytics. > Build beautiful, interactive documentation websites with Fern Docs.