Fork the repository
All contributions to Prefect need to start on a fork of the repository. Once you have successfully forked the Prefect repo, clone a local version to your machine:Set up your local environment
We provide ajustfile with common commands to simplify development. We recommend using just to run these commands.
Installing justTo install just:
- macOS:
brew install justorcargo install just - Linux:
cargo install justor check your package manager - Windows:
scoop install justorcargo install just
Using just (recommended)
- Clone this repository.
- Run
just docsto start the documentation server.
http://localhost:3000.
Manual setup
If you prefer not to use just, you can set up manually:- Clone this repository.
- Make sure you have a recent version of Node.js installed. We recommend using nvm to manage Node.js versions.
- Run
cd docsto navigate to the docs directory. - Run
nvm use nodeto use the correct Node.js version. - Run
npm i -g mintlifyto install Mintlify. - Run
mintlify devto start the development server.
http://localhost:3000.
See the Mintlify documentation for more information on how to install Mintlify, build previews, and use Mintlify’s features while writing docs.
All documentation is written in
.mdx files, which are Markdown files that can contain JavaScript and React components.