From 85216789429280b08d3688f3c6a8d8f1b07c4bc5 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Fri, 20 Sep 2024 23:39:45 +0200 Subject: [PATCH] chore(de): link to correct repo (workaround) --- build/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/index.ts b/build/index.ts index ccacb3b2b8ef..724bd2cbca52 100644 --- a/build/index.ts +++ b/build/index.ts @@ -158,6 +158,12 @@ function injectSource(doc, document, metadata) { last_commit_url: getLastCommitURL(root, metadata.hash), filename, }; + if (doc.locale === "de") { + doc.source.github_url = doc.source.github_url.replace( + "translated-content", + "translated-content-de" + ); + } } export interface BuiltDocument {