docs(editor): Update docs links for community nodes (#7044)

This commit is contained in:
Deborah 2023-08-29 16:40:33 +01:00 committed by GitHub
parent 9d70ce3a15
commit 8a01d063c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -76,7 +76,8 @@ export const NPM_PACKAGE_DOCS_BASE_URL = 'https://www.npmjs.com/package/';
export const NPM_KEYWORD_SEARCH_URL = export const NPM_KEYWORD_SEARCH_URL =
'https://www.npmjs.com/search?q=keywords%3An8n-community-node-package'; 'https://www.npmjs.com/search?q=keywords%3An8n-community-node-package';
export const N8N_QUEUE_MODE_DOCS_URL = `https://${DOCS_DOMAIN}/hosting/scaling/queue-mode/`; export const N8N_QUEUE_MODE_DOCS_URL = `https://${DOCS_DOMAIN}/hosting/scaling/queue-mode/`;
export const COMMUNITY_NODES_INSTALLATION_DOCS_URL = `https://${DOCS_DOMAIN}/integrations/community-nodes/installation/`; export const COMMUNITY_NODES_INSTALLATION_DOCS_URL = `https://${DOCS_DOMAIN}/integrations/community-nodes/installation/gui-install/`;
export const COMMUNITY_NODES_MANUAL_INSTALLATION_DOCS_URL = `https://${DOCS_DOMAIN}/integrations/community-nodes/installation/manual-install/`;
export const COMMUNITY_NODES_NPM_INSTALLATION_URL = export const COMMUNITY_NODES_NPM_INSTALLATION_URL =
'https://docs.npmjs.com/downloading-and-installing-node-js-and-npm'; 'https://docs.npmjs.com/downloading-and-installing-node-js-and-npm';
export const COMMUNITY_NODES_RISKS_DOCS_URL = `https://${DOCS_DOMAIN}/integrations/community-nodes/risks/`; export const COMMUNITY_NODES_RISKS_DOCS_URL = `https://${DOCS_DOMAIN}/integrations/community-nodes/risks/`;

View file

@ -55,6 +55,7 @@
import { import {
COMMUNITY_PACKAGE_INSTALL_MODAL_KEY, COMMUNITY_PACKAGE_INSTALL_MODAL_KEY,
COMMUNITY_NODES_INSTALLATION_DOCS_URL, COMMUNITY_NODES_INSTALLATION_DOCS_URL,
COMMUNITY_NODES_MANUAL_INSTALLATION_DOCS_URL,
COMMUNITY_NODES_NPM_INSTALLATION_URL, COMMUNITY_NODES_NPM_INSTALLATION_URL,
} from '@/constants'; } from '@/constants';
import CommunityPackageCard from '@/components/CommunityPackageCard.vue'; import CommunityPackageCard from '@/components/CommunityPackageCard.vue';
@ -190,7 +191,7 @@ export default defineComponent({
if (this.settingsStore.isQueueModeEnabled) { if (this.settingsStore.isQueueModeEnabled) {
return { return {
calloutText: this.$locale.baseText('settings.communityNodes.queueMode.warning', { calloutText: this.$locale.baseText('settings.communityNodes.queueMode.warning', {
interpolate: { docURL: COMMUNITY_NODES_INSTALLATION_DOCS_URL }, interpolate: { docURL: COMMUNITY_NODES_MANUAL_INSTALLATION_DOCS_URL },
}), }),
calloutTheme: 'warning', calloutTheme: 'warning',
hideButton: true, hideButton: true,