Open ovflowd opened 3 months ago
I can try to take a swing at this once I'm done with the legacy json generator, do we know when we'd want this by?
I can try to take a swing at this once I'm done with the legacy json generator, do we know when we'd want this by?
No ETA, priorities on parity with current generation.
Assuming this is also gonna be ran in ci, wdyt of having it report errors inline similiar to https://www.npmjs.com/package/@reporters/github?
Why not
This is another feature we want to tackle and have within the API docs tooling. The idea is similar to ESlint: We have a system that reports on irregularities when running the API docs tooling against files.
Assume you have a missing version on one of the YAML metadata (i.e.:
version: REPLACEME
), or some of the YAML is missing (like each module may have an "introduced_in" on the first node/section), or you have some invalid type within the API docs (ie:{SomethingThatDoesNotExist}
or a typo{Obrect}
instead of{Object}
--skip-validation
; The system must know the almost exact position of something, possibly within the AST tree, which gives you a position object for each item so you can narrow it to a close position.queries.mjs
,generators.mjs
and all utils know what is the current context being handled. (Note that since parsing and processing is async, we cannot set a static context within a Singleton) The system should not use try/catch or exceptions since the code should be evergreen and failproof to actual errors within the markdown.constants.mjs
Possible items for the system:
REPLACEME
)