mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
40 lines
1.7 KiB
TypeScript
40 lines
1.7 KiB
TypeScript
const insomniaDocs = (slug: string) => `https://docs.insomnia.rest${slug}`;
|
|
|
|
export const docsBase = insomniaDocs('/');
|
|
export const docsGitSync = insomniaDocs('/insomnia/git-sync');
|
|
export const docsTemplateTags = insomniaDocs('/insomnia/template-tags');
|
|
export const docsVersionControl = insomniaDocs('/insomnia/version-control-sync');
|
|
export const docsPlugins = insomniaDocs('/insomnia/introduction-to-plugins');
|
|
export const docsImportExport = insomniaDocs('/insomnia/import-export-data');
|
|
export const docsKeyMaps = insomniaDocs('/insomnia/key-maps');
|
|
export const docsIntroductionInsomnia = insomniaDocs('/insomnia/get-started');
|
|
export const docsWorkingWithDesignDocs = insomniaDocs('/insomnia/design-documents');
|
|
export const docsUnitTesting = insomniaDocs('/insomnia/unit-testing');
|
|
export const docsIntroductionToInsoCLI = insomniaDocs('/inso-cli/introduction');
|
|
|
|
export const docsGitAccessToken = {
|
|
github: 'https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token',
|
|
gitlab: 'https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html',
|
|
bitbucket: 'https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/',
|
|
bitbucketServer: 'https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html',
|
|
};
|
|
|
|
export const documentationLinks = {
|
|
introductionToInsomnia: {
|
|
title: 'Introduction to Insomnia',
|
|
url: docsIntroductionInsomnia,
|
|
},
|
|
workingWithDesignDocs: {
|
|
title: 'Working with Design Documents',
|
|
url: docsWorkingWithDesignDocs,
|
|
},
|
|
unitTesting: {
|
|
title: 'Unit Testing',
|
|
url: docsUnitTesting,
|
|
},
|
|
introductionToInsoCLI: {
|
|
title: 'Introduction to Inso CLI',
|
|
url: docsIntroductionToInsoCLI,
|
|
},
|
|
} as const;
|