From ac61ed0a7bd8d489ab88cf82a7945f04d4e1b018 Mon Sep 17 00:00:00 2001 From: sebastienlorber Date: Thu, 23 Mar 2023 16:06:21 +0100 Subject: [PATCH] fix doc link --- website/docs/guides/docs/sidebar/multiple-sidebars.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/guides/docs/sidebar/multiple-sidebars.md b/website/docs/guides/docs/sidebar/multiple-sidebars.md index d328069e70..831b0ce20a 100644 --- a/website/docs/guides/docs/sidebar/multiple-sidebars.md +++ b/website/docs/guides/docs/sidebar/multiple-sidebars.md @@ -116,7 +116,7 @@ The pagination label by default is the sidebar label. You can use the front matt ## The `ref` item {#sidebar-item-ref} -The `ref` type is identical to the [`doc` type](./items.mdx#sidebar-item-doc) in every way, except that it doesn't participate in generating navigation metadata. It only registers itself as a link. When [generating pagination](#generating-pagination) and [displaying sidebar](#sidebar-association), `ref` items are completely ignored. +The `ref` type is identical to the [`doc` type](./items.md#sidebar-item-doc) in every way, except that it doesn't participate in generating navigation metadata. It only registers itself as a link. When [generating pagination](#generating-pagination) and [displaying sidebar](#sidebar-association), `ref` items are completely ignored. It is particularly useful where you wish to link to the same document from multiple sidebars. The document only belongs to one sidebar (the one where it's registered as `type: 'doc'` or from an autogenerated directory), but its link will appear in all sidebars that it's registered in.