update path for docs
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 2m16s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 2m16s
This commit is contained in:
parent
f7a3bb00a5
commit
025233d837
@ -11,8 +11,8 @@ This is still a work in progress, so please be patient as we continue to add mor
|
||||
|
||||
We offer a few different libraries for different languages to help you get started with the Minecraft Utilities plugin.
|
||||
|
||||
- [Java](/documentation/libraries/java)
|
||||
- [JavaScript](/documentation/libraries/javascript)
|
||||
- [Java](/docs/libraries/java)
|
||||
- [JavaScript](/docs/libraries/javascript)
|
||||
|
||||
## API
|
||||
|
||||
|
@ -65,7 +65,7 @@ export default function Page({ params: { slug } }: DocumentationPageParams) {
|
||||
<Breadcrumb>
|
||||
<BreadcrumbList>
|
||||
<BreadcrumbItem>
|
||||
<BreadcrumbLink href="/documentation">Home</BreadcrumbLink>
|
||||
<BreadcrumbLink href="/docs">Home</BreadcrumbLink>
|
||||
</BreadcrumbItem>
|
||||
{slugParts.map((slug, index, array) => {
|
||||
const path = array.slice(0, index + 1).join("/");
|
||||
@ -74,7 +74,7 @@ export default function Page({ params: { slug } }: DocumentationPageParams) {
|
||||
<>
|
||||
<BreadcrumbSeparator />
|
||||
<BreadcrumbItem key={slug}>
|
||||
<BreadcrumbLink href={`/documentation/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
|
||||
<BreadcrumbLink href={`/docs/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
|
||||
</BreadcrumbItem>
|
||||
</>
|
||||
);
|
@ -38,7 +38,7 @@ const buttons: Button[] = [
|
||||
{
|
||||
title: "Get Started",
|
||||
tooltip: "Click to get started with the API",
|
||||
url: "/documentation",
|
||||
url: "/docs",
|
||||
className:
|
||||
"bg-gradient-to-r from-indigo-600 to-emerald-600 px-7 hover:opacity-75 transition-all transform-gpu text-white",
|
||||
},
|
||||
|
@ -38,7 +38,7 @@ const pages: Page[] = [
|
||||
{ name: "Server", url: "/server/java" },
|
||||
{ name: "Mojang", url: "/mojang/status" },
|
||||
{ name: "API", url: "https://api.mcutils.xyz", hideOnMobile: true, openInNewTab: true },
|
||||
{ name: "Docs", url: "/documentation" },
|
||||
{ name: "Docs", url: "/docs" },
|
||||
];
|
||||
|
||||
export default function NavBar(): ReactElement {
|
||||
|
Loading…
Reference in New Issue
Block a user