Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate node compat list from files #931

Merged
merged 3 commits into from
Oct 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add comment
  • Loading branch information
crowlKats committed Oct 3, 2024
commit 5e280d0eb26cf2e1ca67f85e9b8fd6ab798a191b
6 changes: 6 additions & 0 deletions runtime/_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ export async function generateDescriptions(): Promise<Descriptions> {
return descriptions;
}

/*
generates the node compat list for the Node Support page.
This the data is read from the files in the reference_gen/node_description directory.
This function is called in node.md through the templating engine Vento,
after which the normal markdown rendered is called.
*/
export async function generateNodeCompatability() {
crowlKats marked this conversation as resolved.
Show resolved Hide resolved
const descriptions = await generateDescriptions();

Expand Down