An open API service indexing awesome lists of open source software.

https://github.com/w3c/mdn-spec-links

MDN Spec Links – Linking specs to MDN and browser-support data
https://github.com/w3c/mdn-spec-links

mdn specifications w3c web-development web-platform web-standards whatwg

Last synced: 4 months ago
JSON representation

MDN Spec Links – Linking specs to MDN and browser-support data

Awesome Lists containing this project

README

          

# MDN Spec Links

This space holds JSON data for individual specs; the per-spec data maps fragment IDs from a particular spec to MDN articles which have *Specifications* sections that contain links to that spec and fragment ID.

- [`.mdn-spec-links.ts`][1]: TypeScript declaration defining the datatypes and structure of the JSON data
- [`.mdn-spec-links.schema.json`][2]: JSON Schema with the same definitions, generated from the TypeScript

All data here is generated. So you don’t want to edit the data directly; rather, edit https://github.com/mdn/browser-compat-data data upstream, and https://developer.mozilla.org/docs/Web article content.

To regenerate the data, just type `make`. To build from local BCD and MDN clones:

```
BCD_REPO=/path/to/mdn/browser-compat-data MDN_REPO=/path/to/mdn/content make -e
```

[1]: https://github.com/w3c/mdn-spec-links/blob/HEAD/.mdn-spec-links.ts
[2]: https://github.com/w3c/mdn-spec-links/blob/HEAD/.mdn-spec-links.schema.json