Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/developer-hub/content/docs/openapi/fortuna/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Overview
description: Overview of the Fortuna API
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
Expand Down
2 changes: 1 addition & 1 deletion apps/developer-hub/src/components/Root/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RootProviders } from "@pythnetwork/component-library/AppShell";
import { RootProvider as FumadocsRootProvider } from "fumadocs-ui/provider";
import { RootProvider as FumadocsRootProvider } from "fumadocs-ui/provider/next";
import { NuqsAdapter } from "nuqs/adapters/next/app";
import type { ReactNode } from "react";

Expand Down
4 changes: 2 additions & 2 deletions apps/developer-hub/src/lib/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
} from "@phosphor-icons/react/dist/ssr";
import type { InferMetaType, InferPageType } from "fumadocs-core/source";
import { loader } from "fumadocs-core/source";
import { transformerOpenAPI } from "fumadocs-openapi/server";
import { openapiPlugin } from "fumadocs-openapi/server";
import { createElement } from "react";

import { docs } from "../../.source";
Expand Down Expand Up @@ -58,7 +58,7 @@ export const source = loader({
pageTree: {
// types are very similar but not exactly the same
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
transformers: [transformerOpenAPI()],
transformers: [openapiPlugin()],
},
});

Expand Down
Loading
Loading