insomnia/packages/insomnia-app/app/common/documentation.ts

40 lines
1.7 KiB
TypeScript
Raw Normal View History

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');
2022-01-13 14:03:18 +00:00
export const docsIntroductionInsomnia = insomniaDocs('/insomnia/get-started');
export const docsWorkingWithDesignDocs = insomniaDocs('/insomnia/design-documents');
2022-01-18 22:21:07 +00:00
export const docsUnitTesting = insomniaDocs('/insomnia/unit-testing');
export const docsIntroductionToInsoCLI = insomniaDocs('/inso-cli/introduction');
2022-01-13 14:03:18 +00:00
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',
};
2022-01-13 14:03:18 +00:00
export const documentationLinks = {
introductionToInsomnia: {
title: 'Introduction to Insomnia',
url: docsIntroductionInsomnia,
},
workingWithDesignDocs: {
title: 'Working with Design Documents',
url: docsWorkingWithDesignDocs,
},
2022-01-18 22:21:07 +00:00
unitTesting: {
title: 'Unit Testing',
url: docsUnitTesting,
},
introductionToInsoCLI: {
title: 'Introduction to Inso CLI',
url: docsIntroductionToInsoCLI,
},
2022-01-13 14:03:18 +00:00
} as const;