mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
API.md: Update broken link about presets schema (#8842)
This updates a broken link to `https://github.com/openstreetmap/iD/tree/master/data/presets#custom-presets` to link to the schema-builder project. The link was introduced 5 years ago a7cba6a694/API.md (L251-L252). The old v3-prototype branch still has the content https://github.com/openstreetmap/iD/tree/v3-prototype/data/presets#custom-presets which is an older version of the schema builder docs.
This commit is contained in:
2
API.md
2
API.md
@@ -262,7 +262,7 @@ iD's preset database is stored in the `iD.fileFetcher.cache().presets` object an
|
||||
or modified prior to creating the iD context.
|
||||
|
||||
The format of the `presets` object is
|
||||
[documented here](https://github.com/openstreetmap/iD/tree/develop/data/presets#custom-presets).
|
||||
[documented as part of the schema-builder project](https://github.com/ideditor/schema-builder#presets).
|
||||
|
||||
To add a new preset to iD's existing preset database.
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user