From 04dd5285865df1aec0fa6a082166aa609394a143 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sun, 11 Dec 2022 03:04:23 -0500 Subject: [PATCH] docs: added timestamp generation for footer --- docs.wrm/config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs.wrm/config.js b/docs.wrm/config.js index 423014a91..b13f9342d 100644 --- a/docs.wrm/config.js +++ b/docs.wrm/config.js @@ -1,6 +1,8 @@ import * as ethers from "../lib.esm/index.js"; import { version } from "../lib.esm/_version.js"; +import { getModifiedTime } from "../lib.esm/_admin/utils/git.js"; + const title = "ethers"; const subtitle = (function(version) { @@ -22,6 +24,9 @@ export default { }, srcBaseUrl: "https:/\/github.com/ethers-io/ethers.js/blob/v6-beta-exports/src.ts/{FILENAME}#L{LINENO}", + getTimestamp: function(path) { + return getModifiedTime(path); + }, docRoot: ".",