Repository navigation
Conversation
Add scripts/report-language-coverage.js: measures per-language snippet coverage (page coverage, snippet depth, C# gap lists) across the multi-language docs/ pages, writing latest.md/latest.json and a delta-vs-previous section on reruns. Exposed via 'npm run report:languages'. Generated output under reports/language-coverage/ is gitignored.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP / draft — not ready for review yet.
Issue: https://issues.ravendb.net/issue/RDBDM-392/Docs-programming-language-support
What this adds
A repeatable report measuring how well each client language is covered across the multi-language
docs/pages (pages that declaresupported_languagesand pull onecontent/_<name>-<lang>.mdxpartial per language).scripts/report-language-coverage.js— walks the docs, measuring per language: page coverage (how many multi-language pages offer it), snippet depth (fenced code blocks in its partials, avg per page), and a gap list of pages that have C# but are missing the language (rendered as navigable relative links in the report).npm run report:languagesalias.reports/language-coverage/latest.md+latest.json, overwriting each run and showing a delta vs the previous run. Generated output is gitignored.Initial results (current
docs/, 345 multi-language pages)C# is the full baseline; PHP is thinnest in both coverage and density.
Run it