examples.json lists all samples plus relevant extension APIs in javascript_apis. But there are several extension APIs with significant functionality in its manifest keys. By significant, I mean not just because it is referenced (e.g. name and description are quite meaningless), but because the example is a notably good demonstration of the APIs in use.
To make it easier to find the right examples, we should introduce a new key, e.g. manifest_keys to link examples to manifest keys.
Tasks:
Example of expected results:
examples.json lists all samples plus relevant extension APIs in
javascript_apis. But there are several extension APIs with significant functionality in its manifest keys. By significant, I mean not just because it is referenced (e.g.nameanddescriptionare quite meaningless), but because the example is a notably good demonstration of the APIs in use.To make it easier to find the right examples, we should introduce a new key, e.g.
manifest_keysto link examples to manifest keys.Tasks:
Example of expected results:
examples.jsonto add"manifest_keys": ["protocol_handlers"]to theopen-irc-linksexample atwebextensions-examples/examples.json
Lines 586 to 590 in 9433f84
{{WebExtExamples}}to## Examplesatfiles/en-us/mozilla/add-ons/webextensions/manifest.json/protocol_handlers/index.mdin the mdn/content repo