docs: add missing configuration pages and remove redundant H1 headers

This commit is contained in:
Dwindi Ramadhana
2026-02-05 22:51:45 +07:00
parent 0637bab4ea
commit 162d5384e2
43 changed files with 390 additions and 229 deletions

View File

@@ -21,7 +21,10 @@ export default function DocsBreadcrumb({ paths }: { paths: string[] }) {
<BreadcrumbSeparator />
<BreadcrumbItem>
{index < paths.length - 1 ? (
<BreadcrumbLink className="a">
<BreadcrumbLink
className="a"
href={`/docs/${paths.slice(0, index + 1).join("/")}`}
>
{toTitleCase(path)}
</BreadcrumbLink>
) : (

View File

@@ -25,7 +25,7 @@ export default function DocsMenu({ isSheet = false, className = "" }: DocsMenuPr
<li key={route.title + index}>
<SubLink
{...route}
href={`/docs${route.href}`}
href={`${route.href}`}
level={0}
isSheet={isSheet}
/>

View File

@@ -16,7 +16,7 @@ export default function Pagination({ pathname }: { pathname: string }) {
className:
"no-underline w-full flex flex-col pl-3 !py-8 !items-start",
})}
href={`/docs${res.prev.href}`}
href={`${res.prev.href}`}
>
<span className="flex items-center text-xs">
<ChevronLeftIcon className="w-[1rem] h-[1rem] mr-1" />
@@ -34,7 +34,7 @@ export default function Pagination({ pathname }: { pathname: string }) {
className:
"no-underline w-full flex flex-col pr-3 !py-8 !items-end",
})}
href={`/docs${res.next.href}`}
href={`${res.next.href}`}
>
<span className="flex items-center text-xs">
Next