Skip to content

Commit b10087f

Browse files
committed
Include generated docs
1 parent ca1b0b1 commit b10087f

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

docs/StyleImport.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ existing is now always required as true
3838
### config
3939

4040
```tsx
41-
type Config = {
42-
[object Object]: string; /* FIX ME NO DESCRIPTION */
43-
}
41+
intersection
4442
```
4543
_required_
4644
config is a dictionary of configuration options for the style import.
4745

46+
When using the Mapbox Standard style with `id="basemap"`, use {@link StandardStyleConfig}
47+
keys for autocomplete. Arbitrary keys are also accepted for forward compatibility.
48+
4849
See https://github.com/mapbox/mapbox-maps-ios/blob/main/Sources/MapboxMaps/Documentation.docc/Migrate%20to%20v11.md#21-the-mapbox-standard-style
4950

5051

docs/docs.json

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8126,22 +8126,9 @@
81268126
{
81278127
"name": "config",
81288128
"required": true,
8129-
"type": {
8130-
"name": "shape",
8131-
"value": [
8132-
{
8133-
"name": {
8134-
"name": "string"
8135-
},
8136-
"required": true,
8137-
"type": "string",
8138-
"default": "none",
8139-
"description": "FIX ME NO DESCRIPTION"
8140-
}
8141-
]
8142-
},
8129+
"type": "intersection",
81438130
"default": "none",
8144-
"description": "config is a dictionary of configuration options for the style import.\n\nSee https://github.com/mapbox/mapbox-maps-ios/blob/main/Sources/MapboxMaps/Documentation.docc/Migrate%20to%20v11.md#21-the-mapbox-standard-style"
8131+
"description": "config is a dictionary of configuration options for the style import.\n\nWhen using the Mapbox Standard style with `id=\"basemap\"`, use {@link StandardStyleConfig}\nkeys for autocomplete. Arbitrary keys are also accepted for forward compatibility.\n\nSee https://github.com/mapbox/mapbox-maps-ios/blob/main/Sources/MapboxMaps/Documentation.docc/Migrate%20to%20v11.md#21-the-mapbox-standard-style"
81458132
}
81468133
],
81478134
"fileNameWithExt": "StyleImport.tsx",

0 commit comments

Comments
 (0)