Skip to content

feat: add AI Coding Assistants Policy link to footer#8179

Open
zeescriptdev wants to merge 5 commits intowebpack:mainfrom
zeescriptdev:feat/add-ai-policy-footer
Open

feat: add AI Coding Assistants Policy link to footer#8179
zeescriptdev wants to merge 5 commits intowebpack:mainfrom
zeescriptdev:feat/add-ai-policy-footer

Conversation

@zeescriptdev
Copy link
Copy Markdown

@zeescriptdev zeescriptdev commented Apr 8, 2026

Summary

Automates the OpenJS Foundation footer by fetching the official HTML template from the OpenJS Foundation artwork repo at build time, instead of hardcoding footer links manually.

Closes #8177
This PR adds a fetch-footer.mjs utility that:

  1. Fetches the README from the OpenJS Foundation artwork repo
    1. Parses the official HTML footer template to extract footer links
    1. Generates a _footer-legal.json data file consumed by the Footer component
      The Footer component dynamically renders the links from the fetched data. This ensures that any future updates to the OpenJS Foundation footer template are automatically picked up on the next build.

What kind of change does this PR introduce?

feat: automates footer link rendering from the OpenJS Foundation HTML template.

Use of AI

AI was used to assist in writing this PR.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Error Error Apr 8, 2026 2:53pm

Request Review

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 8, 2026

CLA Not Signed

Copy link
Copy Markdown
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please read the issue, we need to automate this, no updating manually

fetchFooter().catch((err) => {
console.error('Error fetching footer:', err);
process.exit(1);
});
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this AI generated code?

@sujalgoel
Copy link
Copy Markdown
Contributor

Hey! Just noticed this could be a simpler change. The issue says it's quite straightforward, so directly adding the link to Footer.jsx might be easier to get merged than the fetch script approach. Just a thought!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Requirement from Foundation]: Update Footer

3 participants