FIX: localize on github link for different locale on blog and docs sections

This commit is contained in:
Sergey Shorokhov 2024-12-14 13:31:26 +03:00
parent c09a6dd77b
commit 826ea06583

View File

@ -39,7 +39,7 @@ const config: Config = {
sidebarPath: "./sidebars.ts", sidebarPath: "./sidebars.ts",
// Please change this to your repo. // Please change this to your repo.
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
editUrl: "https://github.com/rehlds/rehlds.github.io/tree/master/", editLocalizedFiles: true
}, },
blog: { blog: {
showReadingTime: true, showReadingTime: true,
@ -54,6 +54,7 @@ const config: Config = {
onInlineTags: "warn", onInlineTags: "warn",
onInlineAuthors: "warn", onInlineAuthors: "warn",
onUntruncatedBlogPosts: "warn", onUntruncatedBlogPosts: "warn",
editLocalizedFiles: true
}, },
theme: { theme: {
customCss: "./src/css/custom.css", customCss: "./src/css/custom.css",