rewrite repo location urls

This commit is contained in:
Patrik Oldsberg
2020-11-03 10:37:24 +01:00
parent 5aaeeb03b5
commit af141c0766
170 changed files with 549 additions and 542 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export default class ApiDocPrinter {
'The following is a list of all Utility APIs defined by `@backstage/core`.',
'They are available to use by plugins and components, and can be accessed ',
'using the `useApi` hook, also provided by `@backstage/core`.',
'For more information, see https://github.com/spotify/backstage/blob/master/docs/api/utility-apis.md.',
'For more information, see https://github.com/backstage/backstage/blob/master/docs/api/utility-apis.md.',
);
for (const api of apiDocs) {
@@ -20,7 +20,7 @@ import { MarkdownPrinter, TypeLink } from './types';
import { execSync } from 'child_process';
// TODO(Rugvip): provide through options?
const GH_BASE_URL = 'https://github.com/spotify/backstage';
const GH_BASE_URL = 'https://github.com/backstage/backstage';
const COMMIT_SHA =
process.env.COMMIT_SHA ||
@@ -19,7 +19,7 @@ import { Highlighter, MarkdownPrinter, TypeLink } from './types';
import { execSync } from 'child_process';
// TODO(Rugvip): provide through options?
const GH_BASE_URL = 'https://github.com/spotify/backstage';
const GH_BASE_URL = 'https://github.com/backstage/backstage';
const COMMIT_SHA =
process.env.COMMIT_SHA || execSync('git rev-parse HEAD').toString('utf8');