Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
4 changes: 0 additions & 4 deletions app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from "fumadocs-ui/page";
import { Tab, Tabs } from "fumadocs-ui/components/tabs";
import { Code } from "../../../components/Code";
import { Popup, PopupContent, PopupTrigger } from "fumadocs-twoslash/ui";
import { notFound } from "next/navigation";
import defaultMdxComponents from "fumadocs-ui/mdx";

Expand All @@ -28,9 +27,6 @@ export default async function Page(props: {
<MDX
components={{
...defaultMdxComponents,
Popup,
PopupContent,
PopupTrigger,
Code,
Tab,
Tabs,
Expand Down
1 change: 0 additions & 1 deletion app/global.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@import "tailwindcss";
@import "fumadocs-ui/css/neutral.css";
@import "fumadocs-ui/css/preset.css";
@import "fumadocs-twoslash/twoslash.css";

@source "../node_modules/fumadocs-ui/dist/**/*.js";
8 changes: 0 additions & 8 deletions components/Code.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from "react";
import { CodeBlock, Pre } from "fumadocs-ui/components/codeblock";
import { createStyleTransformer } from "fumadocs-core/server";
import { transformerTwoslash } from "fumadocs-twoslash";
import { Popup, PopupContent, PopupTrigger } from "fumadocs-twoslash/ui";
import { getSingletonHighlighter, bundledLanguages } from "shiki";
import { toJsxRuntime } from "hast-util-to-jsx-runtime";
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
Expand All @@ -28,9 +26,6 @@ export async function Code({
defaultColor: false,
transformers: [
createStyleTransformer(),
transformerTwoslash({
explicitTrigger: false,
}),
],
});

Expand All @@ -45,9 +40,6 @@ export async function Code({
<Pre>{props.children}</Pre>
</CodeBlock>
),
Popup,
PopupContent,
PopupTrigger,
},
});

Expand Down
2 changes: 1 addition & 1 deletion content/docs/Cloud/test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Guide for testing your agents and integrations in Agentuity Cloud

## Code Block

```ts twoslash
```ts
// Declare a tuple type
let x: [string, number]

Expand Down
30 changes: 0 additions & 30 deletions content/docs/Integrations/slack.mdx

This file was deleted.

1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
serverExternalPackages: ["twoslash", "typescript"],
};

export default withMDX(config);
Loading