Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Add favicon, fix mdx

Morgan Dean3d34318b77c7
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index c7c2ccf1fe..c956f83fdb 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -5,12 +5,11 @@ const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
- assetPrefix: '/docs',
basePath: '/docs',
async rewrites() {
return [
{
- source: '/docs/:path*.mdx',
+ source: '/:path*.mdx',
destination: '/llms.mdx/:path*',
},
];
diff --git a/docs/public/favicon.ico b/docs/src/app/favicon.ico
similarity index 100%
rename from docs/public/favicon.ico
rename to docs/src/app/favicon.ico
diff --git a/docs/src/app/layout.tsx b/docs/src/app/layout.tsx
index ddd90f88b3..74da946abc 100644
--- a/docs/src/app/layout.tsx
+++ b/docs/src/app/layout.tsx
@@ -10,6 +10,9 @@ const inter = Inter({
export default function Layout({ children }: { children: ReactNode }) {
return (
<html lang="en" className={inter.className} suppressHydrationWarning>
+ <head>
+ <link rel="icon" href="/docs/favicon.ico" sizes="any" />
+ </head>
<body className="flex min-h-screen flex-col">
<RootProvider>{children}</RootProvider>
</body>