From 826ea06583e55c375f8e86f636d53890f97ebbd1 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Sat, 14 Dec 2024 13:31:26 +0300 Subject: [PATCH] FIX: `localize on github` link for different locale on `blog` and `docs` sections --- docusaurus.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index d46e974..cd73593 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -39,7 +39,7 @@ const config: Config = { sidebarPath: "./sidebars.ts", // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: "https://github.com/rehlds/rehlds.github.io/tree/master/", + editLocalizedFiles: true }, blog: { showReadingTime: true, @@ -54,6 +54,7 @@ const config: Config = { onInlineTags: "warn", onInlineAuthors: "warn", onUntruncatedBlogPosts: "warn", + editLocalizedFiles: true }, theme: { customCss: "./src/css/custom.css",