Code Monkey home page Code Monkey logo

flipt-docs's Introduction

Flipt Docs

Open in GitHub Codespaces

This repository powers the content behind Flipt's docs at flipt.io/docs

๐Ÿ“ Contributing

We welcome contributions to the documentation. If you find a typo or want to add a new section, please open a PR.

We use Conventional Commits to manage our commit messages. Please follow the Conventional Commits format when writing commit messages.

Vale

We use Vale to lint our documentation. Vale is a command-line tool that brings code-like linting rules to prose. It's highly configurable and supports a number of different writing styles.

Installation

To install Vale, follow the installation instructions.

Once installed run the following in this project:

vale sync

Installs all the dependent Vale packages.

Usage

To lint the documentation, run the following command at the root of the repository:

vale *

Vale will lint all files in the repository. If you want to lint a specific file, you can pass the file name as an argument:

vale README.md

Vale will lint the file and output any errors or warnings to the console.

Configuration

Vale is configured using a YAML file called .vale.ini. This file is located in the root of the repository.

Our configuration file uses rules from the Microsoft Writing Style Guide. The full configuration can be found in the .vale.ini file.

We also use a custom style to lint our documentation. The style file can be found in the (.vale/styles/flipt)[.vale/styles/flipt) directory.

Spelling Errors

If Vale detects a spelling error, it will output it as an error to the console. If you want to ignore a spelling error, you can add the word to the spelling-execeptions file in our custom style.

โ„น The words in this file are case-insensitive, please add the word in lowercase and in alphabetical order.

CI

We use GitHub Actions to lint our documentation. The Vale action is run on every pull request and will comment any errors inline on the PR.

๐Ÿ‘ฉโ€๐Ÿ’ป Development

Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command

npm i mintlify -g

Run the following command at the root of your documentation (where mint.json is)

mintlify dev

Note - mintlify dev requires yarn and it's recommended you install it as a global installation. If you don't have yarn installed already run npm install --global yarn in your terminal.

๐Ÿ˜Ž Publishing Changes

Changes will be deployed to production automatically after pushing to the default branch.

You can also preview changes using PRs, which generates a preview link of the docs.

Troubleshooting

  • Mintlify dev isn't running - Run mintlify install it'll re-install dependencies.
  • Mintlify dev is updating really slowly - Run mintlify clear to clear the cache.

flipt-docs's People

Contributors

cxnky avatar erka avatar georgemac avatar github-actions[bot] avatar handotdev avatar imgbot[bot] avatar imgbotapp avatar jamess-lucass avatar markphelps avatar rudineirk avatar sweep-ai[bot] avatar veiko avatar yquansah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.