Skip to content

Expand sitemap coverage for deployed HTML and locale variants#3218

Closed
pethers with Copilot wants to merge 3 commits into
mainfrom
copilot/validate-fix-sitemap-xml
Closed

Expand sitemap coverage for deployed HTML and locale variants#3218
pethers with Copilot wants to merge 3 commits into
mainfrom
copilot/validate-fix-sitemap-xml

Conversation

Copilot AI commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Sitemap generation omitted deployed HTML under analysis/ and nested docs/, plus localized dashboard and news-page variants. This change aligns sitemap discovery with S3 deployment output and preserves locale alternates.

  • Deployment coverage
    • Copy generated analysis/ content into dist/ during S3 deployment.
  • Recursive discovery
    • Include all nested docs/**/*.html and analysis/**/*.html files.
  • Locale coverage
    • Add localized politician dashboards.
    • Add nested news index.html and index_<locale>.html pages.
    • Emit normalized hreflang alternates, including Norwegian nb.
const htmlFiles = [
  ...getDocsFiles(),
  ...getAnalysisFiles(),
  ...getNewsArticlePages(),
];

return renderSitemap(htmlFiles, { includeHreflang: true });

Copilot AI and others added 3 commits July 20, 2026 15:17
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title Fix sitemap coverage for deployed HTML and locales Expand sitemap coverage for deployed HTML and locale variants Jul 20, 2026
Copilot AI requested a review from pethers July 20, 2026 15:53
@github-actions github-actions Bot added documentation Documentation updates workflow GitHub Actions workflows ci-cd CI/CD pipeline changes deployment Deployment configuration size-xs Extra small change (< 10 lines) labels Jul 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ Automatic Labeling Summary

This PR has been automatically labeled based on the files changed and PR metadata.

Applied Labels: documentation,workflow,ci-cd,deployment,size-xs

Label Categories

  • 🗳️ Content: news, dashboard, visualization, intelligence
  • 💻 Technology: html-css, javascript, workflow, security
  • 📊 Data: cia-data, riksdag-data, data-pipeline, schema
  • 🌍 I18n: i18n, translation, rtl
  • 🔒 ISMS: isms, iso-27001, nist-csf, cis-controls
  • 🏗️ Infrastructure: ci-cd, deployment, performance, monitoring
  • 🔄 Quality: testing, accessibility, documentation, refactor
  • 🤖 AI: agent, skill, agentic-workflow

For more information, see .github/labeler.yml.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

@pethers pethers closed this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd CI/CD pipeline changes deployment Deployment configuration documentation Documentation updates size-xs Extra small change (< 10 lines) workflow GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants