Skip to content

Commit

Permalink
chore(de): link to correct repo (workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Sep 20, 2024
1 parent 33c43b2 commit 8521678
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8521678

Please sign in to comment.