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: ".",