Skip to content

docs: update stale footer copyright year across locales - #109

Merged
mandy8055 merged 1 commit into
mainfrom
docs/update-stale-footer-copyright-year
Sep 15, 2026
Merged

mandy8055 merged 1 commit into
mainfrom
docs/update-stale-footer-copyright-year

Conversation

@mandy8055

Copy link
Copy Markdown
Owner

Summary

  • The docs site footer showed "Copyright © 2025" in all three locales (en, de, zh-CN), even though docusaurus.config.ts computes the year dynamically via new Date().getFullYear()
  • Root cause: Docusaurus i18n freezes the config-computed default into each locale's footer.json translation file when it's generated — that's expected i18n behavior (translations are static text for translators), but it means the "dynamic" year silently goes stale the moment these files exist
  • Updates all three locale files to 2026. Not proposing automation for this — it's a once-in-a-while manual touch-up, same as the LICENSE copyright year

This is website/-only, so per the exclude-paths fix in #106 it correctly won't trigger a release.

Test plan

  • Built locally across all 3 locales, verified rendered HTML shows "Copyright © 2026" / "版权所有 © 2026"

🤖 Generated with Claude Code

docusaurus.config.ts computes the footer copyright year dynamically
(new Date().getFullYear()), but Docusaurus i18n freezes that value
into each locale's footer.json translation file at generation time.
All three locales (en, de, zh-CN) still showed 2025. Not something
worth automating — bump manually as needed, same as the LICENSE year.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
data-structures Ready Ready Preview Sep 15, 2026 11:12pm UTC

@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.93%. Comparing base (4643f35) to head (cc39c9d).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #109   +/-   ##
=======================================
  Coverage   99.93%   99.93%           
=======================================
  Files          13       13           
  Lines        1441     1441           
  Branches      281      281           
=======================================
  Hits         1440     1440           
  Partials        1        1           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mandy8055
mandy8055 merged commit 8ead7e5 into main Sep 15, 2026
6 checks passed
@mandy8055
mandy8055 deleted the docs/update-stale-footer-copyright-year branch September 15, 2026 23:15

This branch was successfully deployed

1 active deployment
Preview — cc39c9d5 Deployed Sep 15, 2026 by vercel[bot]
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.

1 participant