Skip to content

Commit 64a2bc7

Browse files
committed
Update docs from master to main
1 parent 0b19fde commit 64a2bc7

File tree

6 files changed

+19
-20
lines changed

6 files changed

+19
-20
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# How to contribute
22
We ❤️ pull requests. If you'd like to fix a bug, contribute a feature or
33
just correct a typo, please feel free to do so, as long as you follow
4-
our [Code of Conduct](https://github.com/Shopify/js-buy-sdk/blob/master/CODE_OF_CONDUCT.md).
4+
our [Code of Conduct](https://github.com/Shopify/js-buy-sdk/blob/main/CODE_OF_CONDUCT.md).
55

66
If you're thinking of adding a big new feature, consider opening an
77
issue first to discuss it to ensure it aligns to the direction of the

DEPLOYING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Deploying and publishing BuyButton.js
22

3-
Pull from master and install all dependencies
3+
Pull from main and install all dependencies
44
```
5-
git pull origin master
5+
git pull origin main
66
yarn install
77
```
88
Then run
@@ -18,7 +18,7 @@ Which will do 3 things:
1818
- create a tag
1919

2020
```
21-
git push origin master --tags
21+
git push origin main --tags
2222
```
2323

24-
Then deploy to S3 and NPM via [Shipit](https://shipit.shopify.io/shopify/buy-button-js/production)
24+
Then deploy via [Shipit](https://shipit.shopify.io/shopify/buy-button-js/production)

docs/configuration/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h2>product</h2>
127127
<td>templates</td>
128128
<td>object</td>
129129
<td>mustache templates used to display contents</td>
130-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/product.js">product.js</a></td>
130+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/product.js">product.js</a></td>
131131
<td></td>
132132
</tr>
133133
</tbody>
@@ -237,7 +237,7 @@ <h2>modalProduct</h2>
237237
<td>templates</td>
238238
<td>object</td>
239239
<td>mustache templates used to display contents</td>
240-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/product.js">product.js</a></td>
240+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/product.js">product.js</a></td>
241241
<td></td>
242242
</tr>
243243
</tbody>
@@ -294,7 +294,7 @@ <h2>modal</h2>
294294
<td>templates</td>
295295
<td>object</td>
296296
<td>mustache templates used to display contents</td>
297-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/modal.js">modal.js</a></td>
297+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/modal.js">modal.js</a></td>
298298
<td></td>
299299
</tr>
300300
</tbody>
@@ -407,7 +407,7 @@ <h2>option</h2>
407407
<td>templates</td>
408408
<td>object</td>
409409
<td>mustache templates used to display contents</td>
410-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/option.js">option.js</a></td>
410+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/option.js">option.js</a></td>
411411
<td></td>
412412
</tr>
413413
</tbody>
@@ -495,7 +495,7 @@ <h2>cart</h2>
495495
<td>templates</td>
496496
<td>object</td>
497497
<td>mustache templates used to display contents</td>
498-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/cart.js">cart.js</a></td>
498+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/cart.js">cart.js</a></td>
499499
<td></td>
500500
</tr>
501501
</tbody>
@@ -556,7 +556,7 @@ <h2>lineItem</h2>
556556
<td>templates</td>
557557
<td>object</td>
558558
<td>mustache templates used to display contents</td>
559-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/line-item.js">line-item.js</a></td>
559+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/line-item.js">line-item.js</a></td>
560560
<td></td>
561561
</tr>
562562
</tbody>
@@ -637,7 +637,7 @@ <h2>toggle</h2>
637637
<td>templates</td>
638638
<td>object</td>
639639
<td>mustache templates used to display contents</td>
640-
<td><a href="https://github.com/Shopify/buy-button-js/blob/master/src/templates/toggle.js">toggle.js</a></td>
640+
<td><a href="https://github.com/Shopify/buy-button-js/blob/main/src/templates/toggle.js">toggle.js</a></td>
641641
<td></td>
642642
</tr>
643643
</tbody>

docs/customization/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var order = [
6868

6969
**Type**: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
7070

71-
**Default value**: dependent on component. [View default values for all components](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
71+
**Default value**: dependent on component. [View default values for all components](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
7272

7373
### `contents`
7474

@@ -83,7 +83,7 @@ var contents = {
8383
```
8484

8585
**Type**: object
86-
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
86+
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
8787

8888
### `text`
8989

@@ -99,7 +99,7 @@ var text = {
9999

100100
**Type**: object
101101

102-
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
102+
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
103103

104104
### `styles`
105105

@@ -118,7 +118,7 @@ var styles = {
118118

119119
**Type**: object
120120

121-
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
121+
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
122122

123123
### `events`
124124

@@ -419,7 +419,7 @@ Determines class names added to elements within components. It is unlikely you w
419419

420420
**Type**: Object
421421

422-
**Default values**: dependent on component. [View defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js).
422+
**Default values**: dependent on component. [View defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js).
423423

424424
### `templates`
425425
Determines the HTML for each element in a component. Templates are specified as strings using the [Mustache](https://github.com/janl/mustache.js/) templating engine, which implements the [Mustache](https://mustache.github.io/) syntax.

docs/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
- `npm run doc-serve`
1818

1919
## Deployment
20-
Changes to the `docs` directory will automatically be deployed to http://shopify.github.io/js-buy-sdk/ when added to `master` (remote).
20+
Changes to the `docs` directory will automatically be deployed to http://shopify.github.io/js-buy-sdk/ when added to `main` (remote).

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# BuyButton.js
22

33
[BuyButton.js on NPM](https://www.npmjs.com/package/@shopify/buy-button-js)
4-
[![Travis](https://travis-ci.com/Shopify/buy-button-js.svg?branch=master)](https://travis-ci.com/Shopify/buy-button-js)
54

65
BuyButton.js is a highly customizable UI library for adding ecommerce functionality to any website. It allows you to create interactive UI components such as product listings and shopping carts with minimal configuration, while allowing you to easily customize the appearance and behaviour of the components.
76
It uses the [JS Buy SDK](http://shopify.github.io/js-buy-sdk/) to connect to your Shopify store, giving you access to your products and collections.
@@ -53,4 +52,4 @@ yarn run docs
5352
```
5453
Doc server will run at http://localhost:4000/buy-button-js/
5554
Docs source files are located in /docs.
56-
Docs are automatically deployed to gh-pages from master.
55+
Docs are automatically deployed to gh-pages from main.

0 commit comments

Comments
 (0)