We greatly appreciate your willingness to contribute to this project! Before submitting a pull request, there are some guidelines you should notice.
This project is a monorepo using Turborepo, pnpm and Changesets.
- Check if there's other similar PRs.
- Format your code with
pnpm run format. - Add changesets with
pnpm changeset, which documents the changes you've made. - Run unit tests with
pnpm testand update snapshots if necessary.
Before submitting a new feature, make sure to open an issue (Feature Request) with sufficient information and reasons about the new feature. After the feature request is approved, you can submit a pull request.
Provide a detailed description of the bug (with live demo if possible). OR open a bug report and link it in your PR.
Contributing to the docs is relatively easier, make sure to check the typos and grammatical mistakes before submitting.
Follow the steps below to set up the project locally for development.
- Node
- pnpm
- Git
git clone https://github.com/<your-username>/fumadocs.git
cd fumadocspnpm installThis repository uses Turborepo, so development servers should be started using the --filter option. Before running any app, build all shared packages:
pnpm run build --filter=./packages/*Then, start docs site in dev mode.
pnpm run dev --filter=docspnpm run format
pnpm run lintpnpm run types:checkpnpm testYou may start with contributing to the docs,
it is located in /apps/docs/content/docs.
To run the docs site in dev mode,
build the dependencies with pnpm run build --filter=./packages/* and run pnpm run dev --filter=docs to start the dev server.
You don't need any extra environment variables to run this project.