Skip to content

Commit d80a121

Browse files
committed
fix: automate cpyright year
1 parent 6c7532c commit d80a121

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Redirects = require('./redirects.js').Redirects;
2-
2+
const copyright = `Copyright © ${new Date().getFullYear()}`;
33
/*
44
buildVersion is used for 2 things:
55
@@ -146,7 +146,7 @@ module.exports={
146146
"image": "img/druid_nav.png",
147147
"footer": {
148148
"links": [],
149-
"copyright": "Copyright © 2023 Apache Software Foundation. Except where otherwise noted, licensed under CC BY-SA 4.0. Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.",
149+
"copyright": copyright + " Apache Software Foundation. Except where otherwise noted, licensed under CC BY-SA 4.0. Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.",
150150
"logo": {
151151
"src": "img/favicon.png"
152152
}

0 commit comments

Comments
 (0)