mirror of
https://github.com/vercel-labs/agent-browser.git
synced 2026-12-03 01:56:36 +08:00
* feat(docs): migrate agent-browser to Geistdocs * fix(docs): use workspace pnpm configuration on Vercel * fix(docs): run Vercel installs and builds through Corepack * docs: document Vercel workspace build requirements * fix(docs): scope Vercel dependency installation to docs * feat(docs): switch navbar to Vercel Labs brand Bump @vercel/geistdocs to 2.4.1 and set navbarBrand: "labs" so the docs navbar uses the Vercel Labs logo and links to vercel.com/labs instead of the default OSS branding. * chore: regenerate lockfile after merge * fix(docs): restore navigation sections * test(docs): re-pin baseline tod01253d9after main advanced Main updated the contact sheet example image (#1871) and the browser-use provider page (#1879); the rename-aware merge carried both into the migrated content. Re-pin the original-state baseline to the new main commit so the contract checks pin the current originals. * docs: update Geistdocs to 2.7.5 and check the MCP route * test(docs): re-pin baseline to526157cfafter main advanced * docs: port Obscura engine page to Geistdocs and re-pin baseline toefee3893
44 lines
1.0 KiB
TypeScript
44 lines
1.0 KiB
TypeScript
import {
|
|
defineGeistdocsSourceConfig,
|
|
geistdocsFrontmatterSchema,
|
|
geistdocsMetaSchema,
|
|
} from "@vercel/geistdocs/source-config";
|
|
import { remarkGfm } from "fumadocs-core/mdx-plugins";
|
|
import { defineConfig, defineDocs } from "fumadocs-mdx/config";
|
|
import { remarkLegacyHeadings } from "./src/lib/remark-legacy-headings";
|
|
|
|
export const docs = defineDocs({
|
|
dir: "content/docs",
|
|
docs: {
|
|
schema: geistdocsFrontmatterSchema,
|
|
postprocess: { includeProcessedMarkdown: true },
|
|
},
|
|
meta: { schema: geistdocsMetaSchema },
|
|
});
|
|
|
|
const config = defineGeistdocsSourceConfig({
|
|
mdxOptions: {
|
|
remarkStructureOptions: {
|
|
types: [
|
|
"heading",
|
|
"paragraph",
|
|
"blockquote",
|
|
"tableCell",
|
|
"mdxJsxFlowElement",
|
|
"mdxJsxTextElement",
|
|
"text",
|
|
"inlineCode",
|
|
"code",
|
|
],
|
|
},
|
|
},
|
|
});
|
|
|
|
export default defineConfig({
|
|
...config,
|
|
mdxOptions: {
|
|
...config.mdxOptions,
|
|
remarkPlugins: [remarkLegacyHeadings, [remarkGfm, { singleTilde: false }]],
|
|
},
|
|
});
|