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: CONTRIBUTING.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@
11
11
## Example app
12
12
The recommended way to develop is building the example app. Example app links in `@rnmapbox/maps` from parent directory. JavaScript changes for example in `src/components/MapView.tsx`, will be applied automatically.
13
13
Some notes about example app:
14
-
- example app are both for demonstrating how to use differenc components, so examples should be simple (and not all of them should be typescript)
15
-
- example app can contains screens designed from through testing of a component, but it should be separate for simple components demonstrating the use of components
14
+
- example app are both for demonstrating how to use different components, so examples should be simple (and not all of them should be typescript)
15
+
- example app can contain screens designed for thorough testing of a component, but it should be separate from simple examples demonstrating the use of components
16
16
17
17
### Example app configurations:
18
18
@@ -74,7 +74,7 @@ The full documentation generation process looks like this:
74
74
75
75
The source is `style-spec/v8.json` and documentation at `src/*.ts`
76
76
77
-
This step runs by `yarn generate` and checked if up-todate by CI.
77
+
This step runs by `yarn generate` and checked if up-to-date by CI.
78
78
79
79
2.) `docs/examples.json` generated by `jest __tests__/dumpExamplesJson.ts`.
80
80
@@ -83,9 +83,9 @@ The full documentation generation process looks like this:
83
83
npx jest __tests__/dumpExamplesJson.ts
84
84
```
85
85
86
-
This step runs by `yarn generate` and checked if up-todate by CI.
86
+
This step runs by `yarn generate` and checked if up-to-date by CI.
87
87
88
-
3.) `<doc-site>/screenhsots`. Grab screenshots from examples (needs `docs/examples.json`)
88
+
3.) `<doc-site>/screenshots`. Grab screenshots from examples (needs `docs/examples.json`)
89
89
90
90
We use detox tests to capture screenshots of examples
91
91
```
@@ -96,15 +96,15 @@ The full documentation generation process looks like this:
96
96
97
97
This step is run manually for now
98
98
99
-
4.) `<doc-site>/docs/components` Generate component/api documentation (into the docosaurus site)
99
+
4.) `<doc-site>/docs/components` Generate component/api documentation (into the Docusaurus site)
100
100
101
101
```
102
102
node scripts/doc-generate.mjs
103
103
```
104
104
105
105
Runs when `main` is changed by `update-docs` gh action workflow
106
106
107
-
5.) `<doc-site>/docs/exmaples` Generate example docs (into the docosaurus site)
107
+
5.) `<doc-site>/docs/examples` Generate example docs (into the Docusaurus site)
Copy file name to clipboardExpand all lines: docs/coordinates.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ import { coordinates } from '@rnmapbox/maps';
8
8
coordinates
9
9
10
10
```
11
-
Coorinates sent by locationManager
11
+
Geographic coordinates sent by locationManager.Fields:Note: heading (compass direction the device is facing) and course (direction of travel) are distinct values.
12
+
On Android, both currently return the same value (see related issues above).
0 commit comments