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
: TypeScript declaration defining the datatypes and structure of the JSON data.mdn-spec-links.schema.json
: 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