mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-28 04:12:52 +00:00
fix doc link
This commit is contained in:
parent
5509d57e5c
commit
ac61ed0a7b
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue