docs: add missing configuration pages and remove redundant H1 headers
This commit is contained in:
@@ -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>
|
||||
) : (
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user