docs/content/references/contribute/contribution-process.mdx
The Sui documentation is open source and thrives on community contributions. Whether you’re fixing a typo, clarifying explanations, or adding entirely new content, your work benefits the whole community. This page explains how to contribute to the documentation using either GitHub’s web editor or your local development environment.
All documentation changes must follow the Sui style guide. Reviewers will provide feedback to ensure consistency in tone and quality. Don’t be discouraged if your pull request (PR) receives multiple review comments, as this process helps maintain clarity and uniformity across all docs. After your PR is merged, future updates may refine your content further.
When writing, keep these key principles in mind:
If you’re new to Git or prefer a simpler workflow, you can make small edits directly in GitHub’s web interface.
Add a new page
docs/content directory.Edit an existing page
Cloning the documentation locally is recommended when you are creating larger, more significant changes to the docs. See Sui Environment Setup for instructions on forking and cloning the Sui repository. Documentation is located in the docs/content directory.
docs/content directory.git add .
git commit -m "Describe your changes"
git push
docs/site directory.pnpm installed, see the pnpm installation guide):
pnpm install
pnpm start
http://localhost:3000 to verify your updates.When your changes are ready:
main branch of the Sui repository.main, and your contribution goes live. Changes are reflected on the live website within 5-10 minutes after the PR has merged into main.