diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-29 23:29:29 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-29 23:29:29 +0300 |
| commit | 3563f5c56ee9bb2c9b15f2d2a124c4fe85e6d2b3 (patch) | |
| tree | dd554024e2610ea93662d725961dc8818e9c27f2 /website/scripts | |
| parent | 2313fb8ac3746faf3e971ef955a5499d8618d2ee (diff) | |
chore: update repository links after organization transfer
Diffstat (limited to 'website/scripts')
| -rw-r--r-- | website/scripts/prepare-docs.mjs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/website/scripts/prepare-docs.mjs b/website/scripts/prepare-docs.mjs index c7b3e9d8..6b5c4b5f 100644 --- a/website/scripts/prepare-docs.mjs +++ b/website/scripts/prepare-docs.mjs @@ -190,7 +190,7 @@ export function rewritePreviewDocContent(content, relativePath = '') { ); const withEditLink = setGeneratedEditUrl( rewritten, - `https://github.com/ogulcancelik/herdr/edit/master/docs/next/website/src/content/docs/${relativePath}`, + `https://github.com/herdrdev/herdr/edit/master/docs/next/website/src/content/docs/${relativePath}`, ); return insertPreviewNotice(withEditLink, relativePath); } @@ -199,17 +199,17 @@ export function rewriteVersionDocContent(content, { version, tag, sourceRoot, re const taggedContent = content .replaceAll('/docs/', `/docs/${version}/`) .replaceAll( - 'https://github.com/ogulcancelik/herdr/blob/master/', - `https://github.com/ogulcancelik/herdr/blob/${tag}/`, + 'https://github.com/herdrdev/herdr/blob/master/', + `https://github.com/herdrdev/herdr/blob/${tag}/`, ) .replaceAll( - 'https://raw.githubusercontent.com/ogulcancelik/herdr/master/', - `https://raw.githubusercontent.com/ogulcancelik/herdr/${tag}/`, + 'https://raw.githubusercontent.com/herdrdev/herdr/master/', + `https://raw.githubusercontent.com/herdrdev/herdr/${tag}/`, ); const rewritten = rewriteRelativeDocPaths(taggedContent, 2); return setGeneratedEditUrl( rewritten, - `https://github.com/ogulcancelik/herdr/blob/${tag}/${sourceRoot}/${relativePath}`, + `https://github.com/herdrdev/herdr/blob/${tag}/${sourceRoot}/${relativePath}`, ); } |
