Repository navigation
docs(front-matter): improve docs for stabilization - #4789
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4789 +/- ##
==========================================
- Coverage 92.36% 92.35% -0.01%
==========================================
Files 487 487
Lines 41539 41539
Branches 5405 5405
==========================================
- Hits 38366 38364 -2
- Misses 3117 3119 +2
Partials 56 56 ☔ View full report in Codecov by Sentry. |
iuioiua
left a comment
There was a problem hiding this comment.
Looking good! Few nits. Could you please also rebase? We just added support for checking class docs.
| import { extract as extractJson } from "./json.ts"; | ||
| import { extract as extractToml } from "./toml.ts"; | ||
| import { extract as extractYaml } from "./yaml.ts"; | ||
|
|
||
| export * from "./create_extractor.ts"; | ||
| export * from "./test.ts"; | ||
|
|
||
| export { extractJson, extractToml, extractYaml }; |
There was a problem hiding this comment.
For reviewers: it looks like exporting these is needed to get the links like {@linkcode extractJson | extract} used in the module level doc to work correctly.
iuioiua
left a comment
There was a problem hiding this comment.
Great work! Few suggestions. I realise we need tweak the Super Linter to check code snippets in non-@example JSDocs. I'll do that then update this PR.
iuioiua
left a comment
There was a problem hiding this comment.
Actually, I won't block this PR. LGMT!
This commit improves docs of the front-matter module.
Specifically, the following things are done:
@examplewhere appropriate to render the examples more beautifullycreateExtractorfunction into smaller pieces so that each one has minimal yet meaningful example@returnsto thetestfunctionFormattype definitionFormattypeTowards #3764