Testsigma docs are built using Gatsby and deployed to https://testsigma.com/docs/.
If you feel insecure about how to start contributing, feel free to ask us on our Discord Server, in the #contributors channel.
Read our Code of Conduct before contributing
We use Github Flow, so all code changes happen through pull requests. Learn more.
- Please make sure there is an issue associated with the work that you're doing. If it doesn’t exist, create an issue.
- If you're working on an issue, please comment that you are doing so to prevent duplicate work by others also.
- Fork the repo and create a new branch from the
main
branch. - Please name the branch as
issue-[issue-number]-[issue-name(optional)]
. For example, if you are fixing Issue #205 name your branch asissue-205 or issue-205-newdoc-for-rest-api-tesing
. - Squash your commits and refer to the issue using
Fix #<issue-no>
in the commit message, at the start. - Rebase
main
with your branch and push your changes.
- Git clone:
git clone git@github.com:testsigmahq/testsigma-docs.git
cd testsigma-docs
- Create a branch
git checkout -b issue-[issue-number]-[issue-name(optional)]
cd testsigma-docs
npm install
npm start
Now you can access docs on your local server using http://localhost:8000/docs/
The main branch (protected) contains the code that is tested and released.
Pull requests should be made against the main
branch. main
contains all of the new features and fixes that are under testing and ready to go out in the next release.
Once you are done with the code changes on your local machine, follow the below steps to commit.
- Please make sure there is an issue associated with the work that you're doing. If it doesn’t exist, create an issue.
- Squash your commits and refer to the issue using
Fix #<issue-no>
in the commit message, at the start. - Rebase
main
with your branch and push your changes. - Once you are confident in your code changes, create a pull request in your fork to the
main
branch in the testsigmahq/testsigma-docs base repository. - Link the issue of the base repository in your Pull request description. Guide
For all contributions, a CLA (Contributor License Agreement) needs to be signed here before (or after) the pull request has been submitted. A bot will prompt contributors to sign the CLA via a pull request comment, if necessary.
- The first line should be a summary of the changes, not exceeding 50 characters, followed by an optional body that has more details about the changes. Refer to this link for more information on writing good commit messages.
- Don't add a period/dot (.) at the end of the summary line.
- Docs are currently deployed manually. Changes will not reflect immediately after a PR gets merged.
- The search is powered by Algolia and is updated every day. Your local changes will not be reflected in search results.