Skip to content

fern-api/docs

Repository files navigation

Fern Documentation

Welcome to the Fern documentation! This repository contains the source code for Fern's comprehensive documentation site, currently live at fern-api.docs.buildwithfern.com/learn/home.

🚀 Quick Start

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js (version 16 or higher)
  • npm (comes with Node.js)

Installation

  1. Install the Fern CLI globally:

    npm install -g fern-api
  2. Clone this repository:

    git clone <repository-url>
    cd docs

Local Development

To run the documentation site locally:

  1. Start the development server:

    fern docs dev
  2. Open your browser and navigate to:

    http://localhost:3000
    

The development server will automatically reload when you make changes to the documentation files.

Contribution Guide

Thanks for contributing to Fern's documentation!

Writing tips

Keep the following principles in mind:

  • Write for your audience - Consider why users are reading your documentation and explain the use case clearly. Focus on clarity and completeness without being verbose. Add examples and code snippets when relevant.
  • Help users get something done. Don't try to sell users on the product, and avoid marketing language like "amazing features" or "the best solution."
  • Avoid time-specific language. Don't mention a product or feature was just released or is the newest form, as this will quickly lead to stale documentation.
  • Write in clear, concise language, using active voice whenever possible. Keep sentences and paragraphs short and to the point. Be conversational and friendly tone. Stay away from jargon as much as you can.
  • Use Fern’s documentation components whenever you can.
  • When editing an existing page - Match the existing heading structure, tone, and level of detail to ensure your changes integrate as seamlessly as possible.

"Break any of these rules sooner than say anything outright barbarous."

—George Orwell, "Politics and the English Language"

Our style guide is influenced by Google's developer documentation style guide and Microsoft's writing style guide.

Getting changes reviewed

If you want to add a new page or make a large structural change:

For all other changes:

  • Submit a PR directly with your suggested changes. A Fern docs member will review and confirm.

If you see something that is wrong or outdated in the documentation but don't know how to fix it, file an issue or reach out to @devalog, @kgowru, or @dsinghvi.

Releases

No releases published

Contributors 14

Languages