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.
|
We offer a few different libraries for different languages to help you get started with the Minecraft Utilities plugin.
|
||||||
|
|
||||||
- [Java](/documentation/libraries/java)
|
- [Java](/docs/libraries/java)
|
||||||
- [JavaScript](/documentation/libraries/javascript)
|
- [JavaScript](/docs/libraries/javascript)
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ export default function Page({ params: { slug } }: DocumentationPageParams) {
|
|||||||
<Breadcrumb>
|
<Breadcrumb>
|
||||||
<BreadcrumbList>
|
<BreadcrumbList>
|
||||||
<BreadcrumbItem>
|
<BreadcrumbItem>
|
||||||
<BreadcrumbLink href="/documentation">Home</BreadcrumbLink>
|
<BreadcrumbLink href="/docs">Home</BreadcrumbLink>
|
||||||
</BreadcrumbItem>
|
</BreadcrumbItem>
|
||||||
{slugParts.map((slug, index, array) => {
|
{slugParts.map((slug, index, array) => {
|
||||||
const path = array.slice(0, index + 1).join("/");
|
const path = array.slice(0, index + 1).join("/");
|
||||||
@ -74,7 +74,7 @@ export default function Page({ params: { slug } }: DocumentationPageParams) {
|
|||||||
<>
|
<>
|
||||||
<BreadcrumbSeparator />
|
<BreadcrumbSeparator />
|
||||||
<BreadcrumbItem key={slug}>
|
<BreadcrumbItem key={slug}>
|
||||||
<BreadcrumbLink href={`/documentation/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
|
<BreadcrumbLink href={`/docs/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
|
||||||
</BreadcrumbItem>
|
</BreadcrumbItem>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
@ -38,7 +38,7 @@ const buttons: Button[] = [
|
|||||||
{
|
{
|
||||||
title: "Get Started",
|
title: "Get Started",
|
||||||
tooltip: "Click to get started with the API",
|
tooltip: "Click to get started with the API",
|
||||||
url: "/documentation",
|
url: "/docs",
|
||||||
className:
|
className:
|
||||||
"bg-gradient-to-r from-indigo-600 to-emerald-600 px-7 hover:opacity-75 transition-all transform-gpu text-white",
|
"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: "Server", url: "/server/java" },
|
||||||
{ name: "Mojang", url: "/mojang/status" },
|
{ name: "Mojang", url: "/mojang/status" },
|
||||||
{ name: "API", url: "https://api.mcutils.xyz", hideOnMobile: true, openInNewTab: true },
|
{ name: "API", url: "https://api.mcutils.xyz", hideOnMobile: true, openInNewTab: true },
|
||||||
{ name: "Docs", url: "/documentation" },
|
{ name: "Docs", url: "/docs" },
|
||||||
];
|
];
|
||||||
|
|
||||||
export default function NavBar(): ReactElement {
|
export default function NavBar(): ReactElement {
|
||||||
|
Loading…
Reference in New Issue
Block a user