mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Core & UI: Support specifying the url of root node when breadcrumbs have includeRoot enabled
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'fumadocs-core': patch
|
||||
'fumadocs-ui': patch
|
||||
---
|
||||
|
||||
Support specifying the url of root node when breadcrumbs have `includeRoot` enabled
|
||||
@@ -98,7 +98,7 @@ export function DocsPage({
|
||||
!tocOptions.enabled && 'max-w-[1200px]',
|
||||
)}
|
||||
>
|
||||
{replaceOrDefault(breadcrumb, <Breadcrumb full={breadcrumb.full} />)}
|
||||
{replaceOrDefault(breadcrumb, <Breadcrumb {...breadcrumb} />)}
|
||||
{props.children}
|
||||
<div className="mt-auto" />
|
||||
{lastUpdate ? <LastUpdate date={new Date(lastUpdate)} /> : null}
|
||||
|
||||
Reference in New Issue
Block a user