open-feature / docs.openfeature.dev

OpenFeature Documentation
https://openfeature.dev
Creative Commons Attribution 4.0 International
6 stars 19 forks source link

OpenFeature Documentation

This repository provides the documentation for OpenFeature.

:warning: The docs have moved!: You can find the new docs here.

Documentation Structure

We are following a slightly modified version of the diataxis framework for our documentation:

Contributing

We welcome your contribution to the OpenFeature documentation. Please make sure to read our contributor guidelines

This website is built using Docusaurus 2, a modern static website generator. Please refer to the docusaurus documentation to learn how to format the documentation.

Style Guide

Diagrams

When adding a diagram to the documentation, it's recommended to use one of the following tools:

Mermaid

Mermaid is uses a Markdown-inspired text definitions to create diagrams. These diagrams are natively supported in GitHub and Docusaurus.

Excalidraw

Excalidraw is a virtual whiteboard for sketching hand-drawn like diagrams. When saving an Excalidraw image, make sure to use the "embed scene" option. That will allow others to edit the image in the future.

Excalidraw Embed Scene

Running locally

Installation Prerequisites

You will need Node.js installed. Node.js >= 16.10 comes with corepack which can be used to access yarn. Instructions for using yarn on all versions of node can be found here.

Installation

yarn

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

The documentation is hosted by Netlify and deployments are automatically triggered after a successful merge to main.

Licenses