Skip to content

Commit d4fc743

Browse files
Just try a help doc page
1 parent 167cc0b commit d4fc743

File tree

7 files changed

+2
-131
lines changed

7 files changed

+2
-131
lines changed

_locales/fr/README.md

Lines changed: 0 additions & 96 deletions
This file was deleted.

_locales/fr/machine-learning-jsdoc-strings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

_locales/fr/machine-learning-strings.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

_locales/fr/onstart.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/onstart.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

pxt.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
"enums.d.ts",
1313
"pxtextension.ts",
1414
"pxtextension.cpp",
15-
"docs/onstart.md",
16-
"_locales/fr/machine-learning-jsdoc-strings.json",
17-
"_locales/fr/machine-learning-strings.json",
18-
"_locales/fr/README.md",
19-
"_locales/fr/onstart.md"
15+
"docs/on-start.md"
2016
],
2117
"testFiles": [
2218
"autogenerated.ts",

pxtextension.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ namespace ml {
5656
//% weight=50
5757
//% parts="v2"
5858
//% group="micro:bit (V2)"
59-
//% help=github:pxt-microbit-ml/docs/onstart
59+
//% help=github:pxt-microbit-ml/docs/on-start
6060
export function onStart(event: MlEvent, body: () => void): void {
6161
event.onStartHandler = body;
6262
const wrappedBody = () => {
@@ -93,7 +93,6 @@ namespace ml {
9393
//% draggableParameters="reporter"
9494
//% parts="v2"
9595
//% group="micro:bit (V2)"
96-
//% help=none
9796
export function onStopDetailed(
9897
event: MlEvent,
9998
body: (duration: number) => void
@@ -109,7 +108,6 @@ namespace ml {
109108
//% weight=20
110109
//% parts="v2"
111110
//% group="micro:bit (V2)"
112-
//% help=none
113111
export function isDetected(event: MlEvent): boolean {
114112
if (!isRunning()) {
115113
startRunning();
@@ -122,7 +120,6 @@ namespace ml {
122120
//% block="certainty (\\%) ML $event"
123121
//% weight=10
124122
//% parts="v2"
125-
//% help=none
126123
export function getCertainty(event: MlEvent): number {
127124
const eventValue = event.eventValue;
128125
if (eventValue <= 1) {

0 commit comments

Comments
 (0)