Skip to main content
Documentation Contribution Guide
We appreciate any contributions you can make to our documentation, including the website and other related materials.

Code of conduct

We are committed to fostering a welcoming and respectful community. All contributors are expected to adhere to our Code of Conduct.

What contributors can do

Contributors can help improve the Cloudberry Database documentation in the following ways:

  • Fix typos, wrong spelling, grammar mistakes, and broken links
  • Correct inaccurate or misleading descriptions
  • Translate a document that is currently in one language only.
  • Add new chapters or sections based on their experience with the product
  • Improve the clarity and comprehensibility of existing content

Important files

Here are some of the key files in our documentation repository:

  • docs/: This directory contains the English documentation.
  • i18n/zh/docusaurus-plugin-content-docs/current/: This directory contains the Chinese documentation.

How to contribute

info

This guide assumes that you are already familiar with the Git processes, including how to use Git commands or GitHub Desktop to create a Pull Request.

For simple updates

For simple updates such as typo or link fixing in a single document:

  1. Navigate to the target page on the Cloudberry Database documentation site you wish to update.
  2. Click Edit this page at the left bottom of the page. This will take you to the GitHub edit page for that file.
  3. Make your changes in the GitHub editor.
  4. Scroll down to the Propose changes section. Enter a short description of your changes in the first field, and a more detailed description in the second field.
  5. Click Propose changes to create a pull request.
  6. Sign the Contributor License Agreement as CLAassistant prompts.

For more complex updates or new content

For more complex updates or adding new content in multiple documents:

  1. Fork the Cloudberry Database site repository.
  2. Clone your forked repository to your local machine.
  3. Create a new branch for your changes.
  4. Make your changes in your local environment.
  5. Commit your changes and push them to your forked repository.
  6. Navigate to the original Cloudberry Database site repository.
  7. Click New pull request.
  8. Choose your forked repository's branch in the comparison, and choose the main branch for the cloudberrydb/cloudberrydb-site repository.
  9. Enter a clear and concise title for your pull request. In the description, explain the purpose of your changes.
  10. Click Create pull request.
  11. Sign the Contributor License Agreement as CLAassistant prompts.

Styling

Our documentation is written in Markdown. Follow these Markdown rules when contributing content. Our website uses the Docusaurus framework. For additional styling options, you can refer to the Docusaurus Markdown features.

Simple writing tips

We aim for a clear, concise, and friendly writing style in our documentation. Here are some guidelines:

  • Use active voice whenever possible.
  • Keep sentences and paragraphs short and to the point.
  • Avoid jargon and technical terms when possible. When you must use them, provide definitions or links to more information.
  • Use examples to illustrate complex concepts or procedures.

For more details about writing styles, you can read:

PR Review Process

After you submit your PR, it will be reviewed by the Cloudberry Database team. We aim to review PRs within a week of submission, but it might take longer depending on the complexity of the changes. We appreciate your patience during this process.

Please keep an eye on your PR after submission. You might receive feedback or questions in the PR comments. Addressing these comments promptly will help speed up the review process.

Process for major changes

If you are considering a major change to the documentation, such as adding a new section or rewriting a large part of it, we recommend the following process:

  1. Open an issue in the Cloudberry Database site repository describing your proposed changes. This allows the Cloudberry Database team and community to provide feedback before you invest a lot of time in writing.
  2. Once you have received feedback and agreement on your proposal, follow the contribution process described above to implement your changes and submit a pull request.