Skip to content

Automatically update copyright year in documentation footer#9150

Open
keshav15240 wants to merge 1 commit into
google:masterfrom
keshav15240:patch-1
Open

Automatically update copyright year in documentation footer#9150
keshav15240 wants to merge 1 commit into
google:masterfrom
keshav15240:patch-1

Conversation

@keshav15240

Copy link
Copy Markdown

Summary

Adds a small JavaScript snippet to automatically update the copyright year displayed in the documentation footer.

Changes

  • Overrides the MkDocs Material footer in docs/overrides/main.html
  • Replaces the hardcoded copyright year with the current year using JavaScript
  • Keeps the footer up to date without requiring manual yearly updates

Example

Before:
Copyright © 2025 Google

After:
Copyright © 2026 Google
(and automatically updates in future years)

Add script to dynamically update copyright year.
@google-cla

google-cla Bot commented Jun 22, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions Bot added the documentation Documentation label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant