docs(core): fix links (#19339)

This commit is contained in:
Isaac Mann 2023-09-30 13:00:09 -04:00 committed by GitHub
parent 867a5a81cd
commit e29e9f90b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 6 deletions

View File

@ -29,7 +29,7 @@ export function categorizeRelatedDocuments(
{ {
id: 'reference', id: 'reference',
name: 'Reference', name: 'Reference',
matchers: ['/workspace/', '/packages/'], matchers: ['/workspace/', '/nx-api/'],
relatedDocuments: [], relatedDocuments: [],
}, },
{ {

View File

@ -191,6 +191,13 @@ export function Header(): JSX.Element {
> >
Community Community
</Link> </Link>
<Link
href="/plugin-registry"
title="Check Nx available plugins"
className="hidden px-3 py-2 font-medium leading-tight hover:text-blue-500 dark:text-slate-200 dark:hover:text-sky-500 md:inline-flex"
>
Plugins registry
</Link>
<Link <Link
href="/conf" href="/conf"
title="Check Nx conference" title="Check Nx conference"

View File

@ -18,10 +18,7 @@ export function ConnectWithUs(): JSX.Element {
</p> </p>
<p className="py-4"> <p className="py-4">
Looking for community plugins? Find them listed in the{' '} Looking for community plugins? Find them listed in the{' '}
<a <a href="/plugin-registry" className="underline font-semibold">
href="/extending-nx/registry"
className="underline font-semibold"
>
plugin registry plugin registry
</a> </a>
. .

View File

@ -482,7 +482,7 @@ function createMarkdownForCommunityPlugins(): {
}[] { }[] {
return communityPlugins.map((plugin) => { return communityPlugins.map((plugin) => {
return { 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, url: plugin.url,
}; };
}); });