| title | Welcome to Fern! |
|---|---|
| subtitle | Everything you need to build the best developer experience |
| slug | welcome |
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.
This starter template contains everything you need to publish documentation:
git clone <your-template-repo.git>
cd docs-starternpm install -g fern-apiStart a local development server with hot-reloading:
fern docs devOpen http://localhost:3000 to see your docs.
Update fern.config.json with your organization name and docs.yml with your desired URL:
{
"organization": "your-org-name",
"version": "0.46.15"
}instances:
- url: your-org.docs.buildwithfern.comWhen you're ready to go live:
fern generate --docsReplace 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.
Learn how to preview and publish changes using the CLI or Fern Editor Configure tabs, sections, and pages in your docs.yml file Brand your documentation with colors, logos, and layouts See how Fern generates interactive API documentationThis is a test line.