Thank you for your interest in contributing to the Tiptap documentation. We welcome contributions from everyone and appreciate your help in making our documentation even better.
To contribute, please follow these steps:
- Fork the Repository: Start by forking the repository and cloning it to your local machine.
- Create a New Branch: Create a new branch for your changes to keep your work organized and separate from the main branch.
- When naming your branch, please use the following format:
fix/<description>
for fixes to the documentation (typos, incorrect information) or bugs in the website code.feature/<description>
for new features of the website or new content of the documentation.
- When naming your branch, please use the following format:
- Make Your Changes: Implement your changes or additions to the documentation.
- Test Your Changes: Ensure your changes work correctly and do not introduce any issues.
- Run the docs locally with the
npm run dev
command. Preview the changes in your browser. - Run the linter with
npm run lint
command.
- Run the docs locally with the
- Create a Changeset: Run
npx changeset
to create a new changeset. Select the appropriate change type (patch, minor, or major) and write a meaningful message describing your changes. - Commit Your Changes: Commit your changes with a clear and descriptive commit message. We recommend using the Conventional Commits format.
- Push to Your Fork: Push your changes to your fork on GitHub.
- Create a Pull Request: Open a pull request to the
main
branch of the original repository. In the pull request, include:- A clear title that summarizes your changes.
- If your PR documents a change in the Tiptap repository, add a link to the PR in the Tiptap repository that introduced that change.
- Add links to any issues or discussions that are related to your changes.
- A detailed description of the changes you made.
- Any relevant information that will help the maintainers understand your changes.
- Review and Merge: Wait for a maintainer to review your changes. Once approved, your changes will be merged.
We use changesets for versioning. To create a new version, run npx changeset version
in your terminal. This command will process all changesets (if the branch is not on a pre-release), create a new version, and update the CHANGELOG.md
file accordingly.
By contributing, you agree that your contributions will be licensed under the same license as the project. For more details, please refer to the LICENSE.md file.
Thank you for helping us improve Tiptap's documentation!