mirror of
https://github.com/HKUDS/AutoAgent
synced 2026-04-21 15:47:56 +00:00
78 lines
1.8 KiB
TypeScript
78 lines
1.8 KiB
TypeScript
import type * as Preset from "@docusaurus/preset-classic";
|
|
import type { Config } from "@docusaurus/types";
|
|
import { themes as prismThemes } from "prism-react-renderer";
|
|
|
|
const config: Config = {
|
|
title: "AutoAgent",
|
|
tagline: "Fully-Automated & Zero-Code LLM Agent Framework",
|
|
favicon: "img/metachain_logo.svg",
|
|
|
|
// Set the production url of your site here
|
|
url: "https://autoagent-ai.github.io",
|
|
baseUrl: "/",
|
|
|
|
// GitHub pages deployment config.
|
|
organizationName: "autoagent-ai",
|
|
projectName: "autoagent-ai.github.io",
|
|
trailingSlash: false,
|
|
deploymentBranch: "main",
|
|
|
|
onBrokenLinks: "throw",
|
|
onBrokenMarkdownLinks: "warn",
|
|
|
|
markdown: {
|
|
mermaid: true,
|
|
},
|
|
themes: ['@docusaurus/theme-mermaid'],
|
|
presets: [
|
|
[
|
|
"classic",
|
|
{
|
|
docs: {
|
|
path: "docs",
|
|
routeBasePath: "docs",
|
|
sidebarPath: "./sidebars.ts",
|
|
exclude: [
|
|
"**/*.test.{js,jsx,ts,tsx}",
|
|
"**/__tests__/**",
|
|
],
|
|
},
|
|
blog: {
|
|
showReadingTime: true,
|
|
},
|
|
theme: {
|
|
customCss: "./src/css/custom.css",
|
|
},
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
themeConfig: {
|
|
image: "img/docusaurus.png",
|
|
navbar: {
|
|
title: "AutoAgent",
|
|
logo: {
|
|
alt: "AutoAgent",
|
|
src: "img/metachain_logo.svg",
|
|
},
|
|
items: [
|
|
{
|
|
type: "docSidebar",
|
|
sidebarId: "docsSidebar",
|
|
position: "left",
|
|
label: "Docs",
|
|
},
|
|
{
|
|
href: "https://github.com/HKUDS/AutoAgent",
|
|
label: "GitHub",
|
|
position: "right",
|
|
},
|
|
],
|
|
},
|
|
prism: {
|
|
theme: prismThemes.oneLight,
|
|
darkTheme: prismThemes.oneDark,
|
|
},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
|
|
export default config;
|