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:
Tobias
2021-12-07 12:19:06 +01:00
committed by GitHub
parent 46a386cae7
commit f2a1cffc03

2
API.md
View File

@@ -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