diff --git a/apps/docs/app/[lang]/[[...slug]]/page.tsx b/apps/docs/app/[lang]/[[...slug]]/page.tsx
index 003c1149ceb..b75a7e5bab2 100644
--- a/apps/docs/app/[lang]/[[...slug]]/page.tsx
+++ b/apps/docs/app/[lang]/[[...slug]]/page.tsx
@@ -1,4 +1,4 @@
-import { findNeighbour } from 'fumadocs-core/server'
+import { findNeighbour } from 'fumadocs-core/page-tree'
import defaultMdxComponents from 'fumadocs-ui/mdx'
import { DocsBody, DocsDescription, DocsPage, DocsTitle } from 'fumadocs-ui/page'
import { ChevronLeft, ChevronRight } from 'lucide-react'
@@ -186,9 +186,6 @@ export default async function Page(props: { params: Promise<{ slug?: string[]; l
footer: ,
single: false,
}}
- article={{
- className: 'scroll-smooth max-sm:pb-16',
- }}
tableOfContentPopover={{
style: 'clerk',
enabled: true,
diff --git a/apps/docs/components/docs-layout/sidebar-components.tsx b/apps/docs/components/docs-layout/sidebar-components.tsx
index 1394bc9f149..e49702f9944 100644
--- a/apps/docs/components/docs-layout/sidebar-components.tsx
+++ b/apps/docs/components/docs-layout/sidebar-components.tsx
@@ -1,7 +1,7 @@
'use client'
import { type ReactNode, useEffect, useState } from 'react'
-import type { PageTree } from 'fumadocs-core/server'
+import type { Folder, Item, Separator } from 'fumadocs-core/page-tree'
import { ChevronRight } from 'lucide-react'
import Link from 'next/link'
import { usePathname } from 'next/navigation'
@@ -11,7 +11,7 @@ function isActive(url: string, pathname: string, nested = true): boolean {
return url === pathname || (nested && pathname.startsWith(`${url}/`))
}
-export function SidebarItem({ item }: { item: PageTree.Item }) {
+export function SidebarItem({ item }: { item: Item }) {
const pathname = usePathname()
const active = isActive(item.url, pathname, false)
@@ -33,15 +33,7 @@ export function SidebarItem({ item }: { item: PageTree.Item }) {
)
}
-export function SidebarFolder({
- item,
- level,
- children,
-}: {
- item: PageTree.Folder
- level: number
- children: ReactNode
-}) {
+export function SidebarFolder({ item, children }: { item: Folder; children: ReactNode }) {
const pathname = usePathname()
const hasActiveChild = checkHasActiveChild(item, pathname)
const [open, setOpen] = useState(hasActiveChild)
@@ -112,7 +104,7 @@ export function SidebarFolder({
)
}
-export function SidebarSeparator({ item }: { item: PageTree.Separator }) {
+export function SidebarSeparator({ item }: { item: Separator }) {
return (
{item.name}
@@ -120,7 +112,7 @@ export function SidebarSeparator({ item }: { item: PageTree.Separator }) {
)
}
-function checkHasActiveChild(node: PageTree.Folder, pathname: string): boolean {
+function checkHasActiveChild(node: Folder, pathname: string): boolean {
if (node.index && isActive(node.index.url, pathname)) {
return true
}
diff --git a/apps/docs/components/icons.tsx b/apps/docs/components/icons.tsx
index 6564a6d21c0..062d7f479fa 100644
--- a/apps/docs/components/icons.tsx
+++ b/apps/docs/components/icons.tsx
@@ -696,8 +696,8 @@ export function GrafanaIcon(props: SVGProps) {
y2='5.356'
gradientUnits='userSpaceOnUse'
>
-
-
+
+
@@ -2757,111 +2757,19 @@ export function MicrosoftSharepointIcon(props: SVGProps) {
export function MicrosoftPlannerIcon(props: SVGProps) {
return (
-