From 7cf95dd61ca8735326ae01205c74d16d9f598fb0 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 3 Jan 2023 15:07:20 +0100 Subject: [PATCH] Docs(feat): add generation timestamp to end of generated readme --- website/docusaurus.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 010a02f8d4..7282be18cf 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -604,6 +604,9 @@ module.exports = { ), // the file names to download modifyContent: (filename, content) => { const sdk = getReadmeRepoData(filename); + + const generationTime = new Date(); + return { filename: `${sdk.slugName}.md`, content: `--- @@ -615,6 +618,13 @@ This document was generated from the README in the [${sdk.sidebarName} SDK's Git ::: ${content} + +--- + +This content was generated on `, }; },