Skip to content

Commit

Permalink
removed extra spaces and comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vicky Besra <[email protected]>
  • Loading branch information
vickybesra committed Jan 24, 2025
1 parent 1a8c61c commit 552a197
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,13 @@
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const versionsArchived = require("./versionsArchived.json");

// Load and replace {{year}} in the footer dynamically


const footer = {
copyright: {
message: "{{year}} © KubeEdge Project Authors. All rights reserved.",
description: "The footer copyright",
},
};

// Replace {{year}} with the current year
const currentYear = new Date().getFullYear();

footer.copyright.message = footer.copyright.message.replace("{{year}}", String(currentYear));
/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down

0 comments on commit 552a197

Please sign in to comment.