Skip to content

Commit 39d14a9

Browse files
authored
Update CONTRIBUTING.md
1 parent 1fc55f1 commit 39d14a9

1 file changed

Lines changed: 18 additions & 29 deletions

File tree

CONTRIBUTING.md

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Testsigma docs are built using [Gatsby](https://www.gatsbyjs.com/) and deployed to [https://testsigma.com/tutorials/.](https://testsigma.com/tutorials/)
44

5-
If you feel insecure about how to start contributing, feel free to ask us on our [Discord channel](https://discord.com/invite/5caWS7R6QX), in the #contributors channel.
5+
If you feel insecure about how to start contributing, feel free to ask us on our [Discord Server](https://discord.com/invite/5caWS7R6QX), in the #contributors channel.
66

77
## **Code of conduct**
88

@@ -12,42 +12,33 @@ Read our [Code of Conduct](CODE_OF_CONDUCT.md) before contributing.
1212

1313
We use [Github Flow](https://guides.github.com/introduction/flow/index.html), so all code changes happen through pull requests. [Learn more.](https://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/))
1414

15-
1.Please make sure there is an issue associated with the work that you're doing. If it doesn’t exist, [create an issue.](https://github.com/testsigmahq/testsigma-tutorials/issues/new/choose)
15+
1.Please make sure there is an issue associated with the work that you're doing. If it doesn’t exist, [create an issue.](https://github.com/testsigmahq/testsigma-tutorials/issues/new/choose)
1616

1717
2.If you're working on an issue, please comment that you are doing so to prevent duplicate work by others also.
1818

19-
3.Fork the repo and create a new branch from the main branch.
19+
3.Fork the repo and create a new branch from the `main` branch.
2020

21-
4.Please name the branch as issue-[issue-number]-[issue-name(optional)] or new-addon-[feature-number][feature-name(optional)]. For example, if you are fixing Issue #205 name your branch as issue-205 or issue-205-selectbox-handling-changes
22-
23-
5.Please add tests for your changes.
21+
4.Please name the branch as issue-[issue-number]-[issue-name(optional)]. For example, if you are fixing Issue #205 name your branch as issue-205 or issue-205-how to-automate-date-widget
2422

2523
6.Squash your commits and refer to the issue using `Fix #<issue-no>` in the commit message, at the start.
2624

27-
7.Rebase master with your branch and push your changes.
25+
7.Rebase `main` with your branch and push your changes.
2826

2927
###🏡 Setup for local development
3028

31-
1.Git clone: git clone
32-
[git@github.com](mailto:git@github.com):testsigmahq/testsigma-tutorials.git
33-
34-
2.Cd testsigma-tutorials
35-
36-
3.Create a branch git checkout -b issue-[issue-number]-[issue-name(optional)]
37-
38-
4.Cd docs
39-
40-
5.npm install
41-
42-
6.npm start
29+
- 1. Git clone: `git clone git@github.com:testsigmahq/testsigma-tutorials.git`
30+
- 2. `cd testsigma-tutorials`
31+
- 3. Create a branch `git checkout -b issue-[issue-number]-[issue-name(optional)]`
32+
- 4. `cd testsigma-tutorials`
33+
- 5. `npm install`
34+
- 6. `npm start`
4335

44-
Now you can access docs on your local server using http://localhost:8000/tutorials
36+
Now you can access tutorials on your local server using http://localhost:8000/tutorials/
4537

4638

4739
## **Committing code**
4840

49-
The main branch (protected) contains the code that is tested and released.
50-
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.
41+
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 changes that ready to go out in the next update.
5142

5243
Once you are done with the code changes on your local machine, follow the below steps to commit.
5344

@@ -57,9 +48,9 @@ Once you are done with the code changes on your local machine, follow the below
5748

5849
2.Squash your commits and refer to the issue using `Fix #<issue-no>` in the commit message, at the start.
5950

60-
3.Rebase master with your branch and push your changes.
51+
3.Rebase `main` with your branch and push your changes.
6152

62-
4.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.
53+
4.Once you are confident in your code changes, create a pull request in your fork to the main branch in the testsigmahq/testsigma-tutorials base repository.
6354

6455
5.Link the issue of the base repository in your Pull request description. [Guide](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue)
6556

@@ -75,8 +66,6 @@ For all contributions, a CLA (Contributor License Agreement) needs to be signed
7566

7667
- Don't add a period/dot (.) at the end of the summary line.
7768

78-
[[info | NOTE:]]
79-
|
80-
* Docs are currently deployed manually. Changes will
81-
not reflect immediately after a PR gets merged.
82-
* The search is powered by [Algolia](https://www.algolia.com/) and is updated every day. Your local changes will not be reflected in search results
69+
## **Notes**
70+
- Tutorials are currently deployed manually. Changes will not reflect immediately after a PR gets merged.
71+
- The search is powered by [Algolia](https://www.algolia.com/) and is updated every day. Your local changes will not be reflected in search results

0 commit comments

Comments
 (0)