You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
## How can I contribute?
4
4
5
-
-[Suggest](https://github.com/google/blockly-samples/issues/new?assignees=&labels=type%3A+feature+request%2C+triage&template=feature_request.md) plugins, examples, or codelabs
5
+
-[Suggest](https://github.com/RaspberryPiFoundation/blockly-samples/issues/new?assignees=&labels=type%3A+feature+request%2C+triage&template=feature_request.md) plugins, examples, or codelabs
6
6
-:arrow_right: Start by reading [How To Write A Good Issue](https://developers.google.com/blockly/guides/modify/contribute/write_a_good_issue)
7
7
- Implement plugins, examples, or codelabs
8
8
-:arrow_right: Read up on how to [Add a Plugin](https://developers.google.com/blockly/guides/modify/contribute/add_a_plugin) or [Write a Codelab](https://developers.google.com/blockly/guides/modify/contribute/write_a_codelab)
@@ -43,7 +43,7 @@ Use the [`npx @blockly/create-package app`](https://www.npmjs.com/package/@block
43
43
44
44
The initial application has one custom block and includes JavaScript generator definitions for that block. Since this codelab will be creating a JSON generator instead, it will remove that custom block and add its own.
45
45
46
-
The complete code used in this codelab can be viewed in blockly-samples under [`examples/custom-generator-codelab`](https://github.com/google/blockly-samples/tree/master/examples/custom-generator-codelab).
46
+
The complete code used in this codelab can be viewed in blockly-samples under [`examples/custom-generator-codelab`](https://github.com/RaspberryPiFoundation/blockly-samples/tree/master/examples/custom-generator-codelab).
47
47
48
48
Before setting up the rest of the application, change the storage key used for this codelab application. This will ensure that the workspace is saved in its own storage, separate from the regular sample app, so that it doesn't interfere with other demos. In `serialization.js`, change the value of `storageKey` to some unique string. `jsonGeneratorWorkspace` will work:
@@ -49,7 +49,7 @@ Use the Use the [`npx @blockly/create-package`](https://www.npmjs.com/package/@b
49
49
50
50
The initial application uses the default renderer and contains no code or definitions for a custom renderer.
51
51
52
-
The complete code used in this codelab can be viewed in blockly-samples under [`examples/custom-renderer-codelab`](https://github.com/google/blockly-samples/tree/master/examples/custom-renderer-codelab).
52
+
The complete code used in this codelab can be viewed in blockly-samples under [`examples/custom-renderer-codelab`](https://github.com/RaspberryPiFoundation/blockly-samples/tree/master/examples/custom-renderer-codelab).
53
53
54
54
Before setting up the rest of the application, change the storage key used for this codelab application. This will ensure that the workspace is saved in its own storage, separate from the regular sample app, so that it doesn't interfere with other demos. In `serialization.js`, change the value of `storageKey` to some unique string. `customRenderersWorkspace` will work:
@@ -27,7 +27,7 @@ The resulting toolbox is shown below.
27
27
28
28

29
29
30
-
The code samples are written in ES6 syntax. You can find the code for the [completed custom toolbox](https://github.com/google/blockly-samples/tree/master/examples/custom-toolbox-codelab/complete-code/index.html) on GitHub.
30
+
The code samples are written in ES6 syntax. You can find the code for the [completed custom toolbox](https://github.com/RaspberryPiFoundation/blockly-samples/tree/master/examples/custom-toolbox-codelab/complete-code/index.html) on GitHub.
31
31
32
32
### What you'll need
33
33
- A browser.
@@ -44,12 +44,12 @@ toolbox definition that can be found in the provided code.
44
44
### Download the sample code
45
45
You can get the sample code for this codelab by either downloading the zip here:
If you downloaded the source as a zip, unpacking it should give you a root folder named `blockly-samples-master`.
@@ -520,4 +520,4 @@ The toolbox can be customized in a variety of ways to make it work for your appl
520
520
* How to add an icon by adding a custom CSS class to the icon div.
521
521
* How to change what HTML Elements are used for different parts of a category.
522
522
* How to create a custom toolbox item.
523
-
You can find the code for the [completed custom toolbox](https://github.com/google/blockly-samples/tree/master/examples/custom-toolbox-codelab/complete-code) on GitHub.
523
+
You can find the code for the [completed custom toolbox](https://github.com/RaspberryPiFoundation/blockly-samples/tree/master/examples/custom-toolbox-codelab/complete-code) on GitHub.
If you downloaded the source as a zip, unpacking it should give you a root folder named `blockly-samples-master`.
@@ -119,7 +119,7 @@ Importing Blockly this way loads four default modules.
119
119
120
120
### Alternate imports
121
121
122
-
There are many ways to import a library in JavaScript, and this tutorial does not cover all of them. For samples that show how to integrate Blockly in your project, look at the `examples` folder in [blockly-samples](https://github.com/google/blockly-samples).
122
+
There are many ways to import a library in JavaScript, and this tutorial does not cover all of them. For samples that show how to integrate Blockly in your project, look at the `examples` folder in [blockly-samples](https://github.com/RaspberryPiFoundation/blockly-samples).
123
123
124
124
You can also define your imports more carefully to get [different generators](https://www.npmjs.com/package/blockly#blockly-generators) and [locales](https://www.npmjs.com/package/blockly#blockly-languages).
0 commit comments