For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Fork this repoDashboard
DocsAPI Reference
DocsAPI Reference
  • Get started
    • Welcome
    • Edit your docs
    • Write content
    • Set up navigation
    • Customize your docs
    • Support
  • Changelog
    • Changelog
LogoLogo
Fork this repoDashboard
On this page
  • What’s included
  • Getting started
  • Next steps
Get started

Welcome to Fern!

Everything you need to build the best developer experience
||View as Markdown|
Was this page helpful?
Next

Edit your docs

Built with

This repository is a starter template for building documentation with Fern. It includes a sample Plant Store API to demonstrate how Fern generates interactive API reference documentation from an OpenAPI specification.

Use this template to get started quickly, then replace the sample content with your own API and documentation.

What’s included

This starter template contains everything you need to publish documentation:

docs.yml# Configures navigation, theme, and hosting
fern.config.json# Sets your organization name and CLI version
openapi.yaml# Sample Plant Store API specification
docs
pages# Markdown content for your documentation
assets# Logos, favicon, and other assets

Getting started

1

Clone this repository

$git clone <your-template-repo.git>
$cd docs-starter
2

Install the Fern CLI

$npm install -g fern-api
3

Preview locally

Start a local development server with hot-reloading:

$fern docs dev

Open http://localhost:3000 to see your docs.

4

Make it yours

Update fern.config.json with your organization name and docs.yml with your desired URL:

fern.config.json
1{
2 "organization": "your-org-name",
3 "version": "0.46.15"
4}
docs.yml
1instances:
2 - url: your-org.docs.buildwithfern.com
5

Publish

When you’re ready to go live:

$fern generate --docs

Next steps

Replace the sample Plant Store API with your own OpenAPI specification, update the Markdown pages with your content, and customize the theme to match your brand. For detailed guidance, explore the pages in this documentation or visit the Fern documentation.

Edit your docs

Learn how to preview and publish changes using the CLI or Fern Editor

Set up navigation

Configure tabs, sections, and pages in your docs.yml file

Customize your docs

Brand your documentation with colors, logos, and layouts

API reference

See how Fern generates interactive API documentation