violentmonkey.github.io
violentmonkey.github.io copied to clipboard
API page: no mention of `info.script.require`
https://violentmonkey.github.io/api/gm/#gm_info
It mentions info.script.resources, but not require.
Ideally we should parse @violentmonkey/types package (either via regex or acorn with plugins or ts-morph) and generate GM_info accordingly. @gera2ld, WDYT? I can probably take a stab at it.
Ideally we should try using a generator like TSDoc, TypeDoc, and CompoDoc.
Hey we already have one in https://violentmonkey.github.io/types/ but it's not very convenient because it doesn't show the definitions of inner properties inlined, instead they're all linked.