This repository contains the Fern configuration for the Vimmerse API documentation site.
Install the Fern CLI:
npm install -g fern-apifern/
├── fern.config.json # Organization name and CLI version
├── generators.yml # Points to the OpenAPI spec
├── docs.yml # Docs site configuration (navigation, colors, branding)
├── swagger.json # Vimmerse OpenAPI 3.1 specification
└── pages/
├── introduction.mdx # API overview
├── authentication.mdx # Authentication guide
└── quickstart.mdx # Getting started tutorial
fern checkfern docs devThis starts a local dev server so you can preview changes before publishing.
fern generate --docs --previewCreates a shareable preview URL hosted by Fern.
fern generate --docsPublishes the docs to vimmerse.docs.buildwithfern.com.
- API spec — Update
fern/swagger.json. The API Reference pages are auto-generated from this file. - Guides & pages — Edit or add
.mdxfiles infern/pages/, then reference them infern/docs.ymlundernavigation. - Branding & layout — Edit
fern/docs.ymlto change colors, logos, navbar links, or navigation structure.