-
Notifications
You must be signed in to change notification settings - Fork 171
Automated footer year #668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Vicky Besra <vickybesra2000@gmail.com>
Signed-off-by: Vicky Besra <vickybesra2000@gmail.com>
docusaurus.config.js
Outdated
const currentYear = new Date().getFullYear(); | ||
const localizedCopyrights = { | ||
en: `${currentYear} © KubeEdge Project Authors. All rights reserved.`, | ||
zh: `${currentYear} © KubeEdge 项目作者。版权所有。`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to have this Chinese version of footer in here? i think this is meant to be English version only, so i think it works okay with current implementation.
@@ -1,6 +1,6 @@ | |||
{ | |||
"copyright": { | |||
"message": "2024 © KubeEdge Project Authors. All rights reserved.", | |||
"message": "2025 © KubeEdge Project Authors. All rights reserved.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure how to automate the copyright in (https://github.com/kubeedge/website/blob/master/i18n/zh/docusaurus-theme-classic/footer.json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. Could you squash some commits?https://kubeedge.io/docs/developer/Supplemental_developer_guide#ensuring-to-squash-similiar-commits
Sure |
Signed-off-by: Vicky Besra <vickybesra2000@gmail.com> removed extra spaces and comments Signed-off-by: Vicky Besra <vickybesra2000@gmail.com> Automated footer year for chinese and english
552a197
to
8db8d98
Compare
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Shelley-BaoYue The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Which issue(s) this PR fixes:
Fixes #597