rewrite other references to spotify/backstage and sorrounding things

This commit is contained in:
Patrik Oldsberg
2020-11-03 11:39:12 +01:00
parent 606625d672
commit 474bb5b57f
31 changed files with 53 additions and 55 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ async function verifyUrl(basePath, absUrl, docPages) {
// Avoid having absolute URL links within docs/, so that links work on the site
if (
absUrl.match(
/https:\/\/github.com\/spotify\/backstage\/(tree|blob)\/master\/docs\//,
/https:\/\/github.com\/backstage\/backstage\/(tree|blob)\/master\/docs\//,
) &&
basePath.match(/^(?:docs|microsite)\//)
) {
@@ -37,7 +37,7 @@ async function verifyUrl(basePath, absUrl, docPages) {
const url = absUrl
.replace(/#.*$/, '')
.replace(
/https:\/\/github.com\/spotify\/backstage\/(tree|blob)\/master/,
/https:\/\/github.com\/backstage\/backstage\/(tree|blob)\/master/,
'',
);
if (!url) {