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
- Host: GitHub
- URL: https://github.com/w3c/mdn-spec-links
- Owner: w3c
- Created: 2018-09-25T07:41:53.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T03:15:10.000Z (9 months ago)
- Last Synced: 2025-04-06T07:23:06.545Z (6 months ago)
- Topics: mdn, specifications, w3c, web-development, web-platform, web-standards, whatwg
- Language: JSON
- Homepage: https://w3c.github.io/mdn-spec-links/
- Size: 56.2 MB
- Stars: 22
- Watchers: 6
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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 TypeScriptAll 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