Skip to content

Chore: add sitemap.xml#371

Merged
mattaereal merged 4 commits intodevelopfrom
chore/sitemap
Feb 10, 2026
Merged

Chore: add sitemap.xml#371
mattaereal merged 4 commits intodevelopfrom
chore/sitemap

Conversation

@scode2277
Copy link
Collaborator

This PR adds a sitemap.xml generator that is processes by CF at build time.

At the moment, it is only a simple sitemap with all the links, as we are in a urgent need of this file, and there will be no <lastmod> tag as it's a tricky thing to add for various reasons (CI/CD environments do not have access to the full git history if not forced to + vocs already process the "last modified" date but they display it at runtime and this script runs postbuild so there is no way to read that) and will need extra work and time to understand how to safely get them.

Example:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://frameworks.securityalliance.org/intro/introduction</loc>
</url>
<url>
<loc>https://frameworks.securityalliance.org/intro/how-to-navigate-the-website</loc>
</url>
...

Closes #359

Frameworks PR Checklist

Thank you for contributing to the Security Frameworks! Before you open a PR, make sure to read information for contributors and take a look at the following checklist:

  • Describe your changes, substitute this text with the information
  • If you are touching an existing piece of content, tag current contributors from the attribution list
  • If there is a steward for that framework, ask the steward to review it
  • If you're modifying the general outline, make sure to update it in the vocs.config.ts adding the dev: true parameter
  • If you need feedback for your content from the wider community, share the PR in our Discord
  • Review changes to ensure there are no typos, see instructions below

@vercel
Copy link

vercel bot commented Feb 10, 2026

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

Project Deployment Actions Updated (UTC)
frameworks Ready Ready Preview, Comment Feb 10, 2026 2:35pm

Request Review

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 10, 2026

Deploying frameworks with  Cloudflare Pages  Cloudflare Pages

Latest commit: 136758b
Status: ✅  Deploy successful!
Preview URL: https://d9c9b858.frameworks-573.pages.dev
Branch Preview URL: https://chore-sitemap.frameworks-573.pages.dev

View logs

Copy link
Collaborator

@smagdali smagdali left a comment

Choose a reason for hiding this comment

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

One comment, the rest looks good. I wouldn't let my comment be a blocker if you're squeezed for time.

@mattaereal mattaereal merged commit e658b63 into develop Feb 10, 2026
5 checks passed
@scode2277 scode2277 deleted the chore/sitemap branch February 11, 2026 12:08
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.

Add XML sitemap for SEO

3 participants