From e29e9f90b6c5cf2a5b686327d68de15b873c7c4c Mon Sep 17 00:00:00 2001 From: Isaac Mann Date: Sat, 30 Sep 2023 13:00:09 -0400 Subject: [PATCH] docs(core): fix links (#19339) --- nx-dev/models-document/src/lib/related-documents.utils.ts | 2 +- nx-dev/ui-common/src/lib/header.tsx | 7 +++++++ nx-dev/ui-community/src/lib/connect-with-us.tsx | 5 +---- tools/documentation/create-embeddings/src/main.mts | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/nx-dev/models-document/src/lib/related-documents.utils.ts b/nx-dev/models-document/src/lib/related-documents.utils.ts index cc06753e34dfe..d444ebfefcad5 100644 --- a/nx-dev/models-document/src/lib/related-documents.utils.ts +++ b/nx-dev/models-document/src/lib/related-documents.utils.ts @@ -29,7 +29,7 @@ export function categorizeRelatedDocuments( { id: 'reference', name: 'Reference', - matchers: ['/workspace/', '/packages/'], + matchers: ['/workspace/', '/nx-api/'], relatedDocuments: [], }, { diff --git a/nx-dev/ui-common/src/lib/header.tsx b/nx-dev/ui-common/src/lib/header.tsx index 849caa9c57c5e..ad6e24a5f4f1c 100644 --- a/nx-dev/ui-common/src/lib/header.tsx +++ b/nx-dev/ui-common/src/lib/header.tsx @@ -191,6 +191,13 @@ export function Header(): JSX.Element { > Community + + Plugins registry +

Looking for community plugins? Find them listed in the{' '} - + plugin registry . diff --git a/tools/documentation/create-embeddings/src/main.mts b/tools/documentation/create-embeddings/src/main.mts index 3c0ceac8a4052..ec7f5203a77af 100644 --- a/tools/documentation/create-embeddings/src/main.mts +++ b/tools/documentation/create-embeddings/src/main.mts @@ -482,7 +482,7 @@ function createMarkdownForCommunityPlugins(): { }[] { return communityPlugins.map((plugin) => { return { - text: `## ${plugin.name} plugin\n\nThere is a ${plugin.name} community plugin.\n\nHere is the description for it: ${plugin.description}\n\nHere is the link to it: [${plugin.url}](${plugin.url})\n\nHere is the list of all the plugins that exist for Nx: https://nx.dev/extending-nx/registry`, + text: `## ${plugin.name} plugin\n\nThere is a ${plugin.name} community plugin.\n\nHere is the description for it: ${plugin.description}\n\nHere is the link to it: [${plugin.url}](${plugin.url})\n\nHere is the list of all the plugins that exist for Nx: https://nx.dev/plugin-registry`, url: plugin.url, }; });