Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d01be87

Browse files
authored
Merge pull request plotly#986 from plotly/contributing-doc-update
Contributing doc update
2 parents 77f91f4 + a984342 commit d01be87

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Contributing.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
## Repo Organization
22
Edit or add files in the `_posts` folder in the [source-design-merge](http://github.com/plotly/documentation/tree/source-design-merge) branch.
33

4-
## Clone the Repo and Install Dependencies
4+
## Clone the Repo and Install Dependencies
55
1. Clone the repo and then check out the source-design-merge branch:
66

77
```
88
$ git clone [email protected]:plotly/documentation.git
99
$ git fetch origin
1010
$ git checkout source-design-merge
1111
```
12-
12+
1313
2. Check Ruby version `$ ruby --version`. We recommend using the same ruby version as gh-pages: https://pages.github.com/versions/. Note [RVM](https://rvm.io/rvm/install) is helpful for installing and managing ruby versions.
1414

1515
3. Install bundler and dependencies from the `gemfile`:
@@ -23,7 +23,7 @@ Note these dependencies should be the same version that gh-pages is using: https
2323
4. When we deploy, a function is run to update the plot schema. To do this successfully you have to make sure you have the `requests` python package: `pip install requests`
2424

2525
## Making Changes
26-
- For information about editing **plotly.js** docs see: https://github.com/plotly/documentation/blob/source-design-merge/_posts/plotly_js/README.md
26+
- For information about editing **plotly.js** docs see: https://github.com/plotly/documentation/blob/source-design-merge/_posts/plotly_js/README.md
2727
- For information about editing **python** docs see: https://github.com/plotly/documentation/blob/source-design-merge/_posts/python/README.md
2828
- For information about editing **R** docs see: https://github.com/plotly/documentation/blob/source-design-merge/_posts/r/README.md
2929
- For information about editing chart studio documentation found at [https://help.plot.ly/tutorials/](https://help.plot.ly/tutorials/) please see this repo: [https://github.com/plotly/plotly.github.io](https://github.com/plotly/plotly.github.io)
@@ -57,8 +57,10 @@ exclude: []
5757
and it'll load everything.
5858

5959
## Make a PR
60-
Ready for your changes to be reviewed? Make a pull request against the `source-design-merge` branch!
60+
Ready for your changes to be reviewed? Make a pull request against the `source-design-merge` branch!
6161
Create a feature branch and use `git status` to list changed files.
62+
63+
(Make sure that the feature branch is a branch off from `source-design-merge` local branch in your machine and not from any other previously worked branch).
6264
```
6365
git checkout -b your_feature_branch
6466
git status
@@ -90,7 +92,7 @@ documentation (source-design-merge) $ bundle exec rake deploy
9092

9193
## Search
9294

93-
We now have search via algolia implemented on our index and reference documentation pages! Please refer to our [make README](https://github.com/plotly/documentation/blob/source-design-merge/make_instructions.txt) for more information on how search works and instructions on how to update or edit Plotly search indices.
95+
We now have search via algolia implemented on our index and reference documentation pages! Please refer to our [make README](https://github.com/plotly/documentation/blob/source-design-merge/make_instructions.txt) for more information on how search works and instructions on how to update or edit Plotly search indices.
9496

9597
## Style Edits
9698

0 commit comments

Comments
 (0)