We're excited you're interested in contributing to our Turborepo-based Docusaurus documentation! This guide will help you get started.
For installing dependencies faster using Bun: bun install
This project uses Turborepo to manage a monorepo structure. The documentation site is likely one of the workspaces within this structure.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/repo-name.git
- Navigate to the project directory:
cd repo-name
- Install dependencies:
yarn
- Create a new branch:
git checkout -b your-branch-name
- Start the development server:
yarn dev
This command uses Turborepo to run the dev script in the documentation workspace. - Open your browser and visit
http://localhost:3001
.
- Make your changes in the appropriate workspace (likely in the
docs
or similar directory) - Test your changes locally using the development server
- Run
yarn build
to ensure your changes don't cause build errors across the monorepo - Commit your changes:
git commit -m "Your descriptive commit message"
- Push to your fork:
git push origin your-branch-name
- Go to the original repository on GitHub
- Click the "New pull request" button
- Select your fork and the branch containing your changes
- Fill out the pull request template with details about your changes
- Submit the pull request
yarn build
: Builds all workspaces in the monorepoyarn lint
: Runs linting across all workspacesyarn test
: Runs tests across all workspaces (if configured)
Check for more scripts in package.json
.
Refer to the turbo.json
file in the root of the repository for more details on the configured pipelines.
- Use Markdown for all documentation files in the docs workspace
- Follow the Docusaurus Markdown features guide
- Use sentence case for headings
- Keep line length to a maximum of 80 characters
- Use American English spelling
- Adapt to our pattern
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
If you have any questions or need help with your contribution, please open an issue or reach out to the maintainers.
Thank you for contributing to Zerops Docs.