From 64da8c61f644c0a3e3ce738a69f37e6155c72bc0 Mon Sep 17 00:00:00 2001 From: hywax Date: Thu, 4 Jan 2024 22:33:30 +0500 Subject: [PATCH] docs: editLink && lastUpdated en --- docs/.vitepress/locales/en.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/.vitepress/locales/en.ts b/docs/.vitepress/locales/en.ts index 8ce1aec..123b6d1 100644 --- a/docs/.vitepress/locales/en.ts +++ b/docs/.vitepress/locales/en.ts @@ -63,5 +63,18 @@ export default defineConfig({ ], }, ], + + editLink: { + pattern: 'https://github.com/hywax/mafl/edit/main/docs/:path', + text: 'Edit this page on GitHub', + }, + + lastUpdated: { + text: 'Last updated', + formatOptions: { + dateStyle: 'short', + timeStyle: 'medium', + }, + }, }, })