2023-08-27 21:30:54 -04:00
|
|
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
2023-12-12 20:38:47 -08:00
|
|
|
const math = require("remark-math");
|
|
|
|
const katex = require("rehype-katex");
|
2023-08-27 21:30:54 -04:00
|
|
|
|
2024-01-22 19:50:59 -05:00
|
|
|
customPostCssPlugin = () => {
|
|
|
|
return {
|
|
|
|
name: "custom-postcss",
|
|
|
|
configurePostCss(options) {
|
|
|
|
options.plugins.push(require("postcss-preset-env"));
|
|
|
|
return options;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2023-08-27 21:30:54 -04:00
|
|
|
module.exports = {
|
2023-12-12 20:38:47 -08:00
|
|
|
title: "AutoGen",
|
|
|
|
tagline: "Enable Next-Gen Large Language Model Applications",
|
|
|
|
url: "https://microsoft.github.io",
|
|
|
|
baseUrl: "/autogen/",
|
|
|
|
onBrokenLinks: "throw",
|
|
|
|
onBrokenMarkdownLinks: "warn",
|
|
|
|
favicon: "img/ag.ico",
|
|
|
|
organizationName: "Microsoft", // Usually your GitHub org/user name.
|
|
|
|
projectName: "AutoGen", // Usually your repo name.
|
2024-01-17 23:42:45 -05:00
|
|
|
scripts: [
|
|
|
|
{
|
|
|
|
src: '/autogen/js/custom.js',
|
|
|
|
async: true,
|
|
|
|
defer: true,
|
|
|
|
},
|
|
|
|
],
|
2024-01-13 14:54:37 +00:00
|
|
|
markdown: {
|
|
|
|
format: 'detect', // Support for MD files with .md extension
|
|
|
|
},
|
2023-08-27 21:30:54 -04:00
|
|
|
themeConfig: {
|
|
|
|
navbar: {
|
2023-12-12 20:38:47 -08:00
|
|
|
title: "AutoGen",
|
2023-08-27 21:30:54 -04:00
|
|
|
logo: {
|
2023-12-12 20:38:47 -08:00
|
|
|
alt: "AutoGen",
|
|
|
|
src: "img/ag.svg",
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
type: "doc",
|
|
|
|
docId: "Getting-Started",
|
|
|
|
position: "left",
|
|
|
|
label: "Docs",
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
type: "doc",
|
|
|
|
docId: "reference/agentchat/conversable_agent",
|
|
|
|
position: "left",
|
2024-03-02 01:24:56 -05:00
|
|
|
label: "API",
|
2021-12-16 17:11:33 -08:00
|
|
|
},
|
2023-12-12 20:38:47 -08:00
|
|
|
{ to: "blog", label: "Blog", position: "left" },
|
2021-12-16 17:11:33 -08:00
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
type: "doc",
|
|
|
|
docId: "FAQ",
|
|
|
|
position: "left",
|
|
|
|
label: "FAQ",
|
2021-12-16 17:11:33 -08:00
|
|
|
},
|
2023-11-30 13:31:08 -05:00
|
|
|
// {
|
|
|
|
// to: 'examples',
|
|
|
|
// label: 'Examples',
|
|
|
|
// },
|
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
type: "doc",
|
|
|
|
docId: "Examples",
|
|
|
|
position: "left",
|
|
|
|
label: "Examples",
|
2023-11-30 13:31:08 -05:00
|
|
|
},
|
2024-03-11 18:46:39 -04:00
|
|
|
{
|
|
|
|
to: "docs/notebooks",
|
|
|
|
position: "left",
|
|
|
|
label: "Notebooks",
|
|
|
|
},
|
2023-11-30 13:31:08 -05:00
|
|
|
{
|
2024-03-02 01:24:56 -05:00
|
|
|
type: "doc",
|
|
|
|
position: "left",
|
|
|
|
docId: "Gallery",
|
2023-11-30 13:31:08 -05:00
|
|
|
},
|
2024-02-08 09:28:56 -08:00
|
|
|
{
|
|
|
|
label: "Other Languages",
|
|
|
|
type: "dropdown",
|
|
|
|
position: "right",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Dotnet",
|
|
|
|
href: "https://microsoft.github.io/autogen-for-net/",
|
|
|
|
}
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://github.com/microsoft/autogen",
|
|
|
|
label: "GitHub",
|
|
|
|
position: "right",
|
|
|
|
}
|
2023-08-27 21:30:54 -04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
2023-12-12 20:38:47 -08:00
|
|
|
style: "dark",
|
2023-08-27 21:30:54 -04:00
|
|
|
links: [
|
|
|
|
// {
|
|
|
|
// title: 'Docs',
|
|
|
|
// items: [
|
|
|
|
// {
|
|
|
|
// label: 'Getting Started',
|
|
|
|
// to: 'docs/getting-started',
|
|
|
|
// },
|
|
|
|
// ],
|
|
|
|
// },
|
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
title: "Community",
|
2023-08-27 21:30:54 -04:00
|
|
|
items: [
|
2023-12-12 20:38:47 -08:00
|
|
|
// // {
|
|
|
|
// // label: 'Stack Overflow',
|
|
|
|
// // href: 'https://stackoverflow.com/questions/tagged/pymarlin',
|
|
|
|
// // },
|
2023-08-27 21:30:54 -04:00
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
label: "Discord",
|
|
|
|
href: "https://discord.gg/pAbnFJrkgZ",
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
2023-10-09 00:34:24 +01:00
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
label: "Twitter",
|
|
|
|
href: "https://twitter.com/pyautogen",
|
2023-10-09 00:34:24 +01:00
|
|
|
},
|
2023-08-27 21:30:54 -04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2024-01-17 23:42:45 -05:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} AutoGen Authors | <a target="_blank" style="color:#10adff" href="https://go.microsoft.com/fwlink/?LinkId=521839">Privacy and Cookies</a>`,
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
2024-03-06 14:21:28 -05:00
|
|
|
announcementBar: {
|
|
|
|
id: 'whats_new',
|
|
|
|
content:
|
|
|
|
'What\'s new in AutoGen? Read <a href="/autogen/blog/2024/03/03/AutoGen-Update">this blog</a> for an overview of updates',
|
|
|
|
backgroundColor: '#fafbfc',
|
|
|
|
textColor: '#091E42',
|
|
|
|
isCloseable: true,
|
|
|
|
},
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
2023-12-12 20:38:47 -08:00
|
|
|
"@docusaurus/preset-classic",
|
2023-08-27 21:30:54 -04:00
|
|
|
{
|
2023-11-17 07:40:33 -05:00
|
|
|
blog: {
|
|
|
|
showReadingTime: true,
|
|
|
|
blogSidebarCount: "ALL",
|
|
|
|
// Adjust any other blog settings as needed
|
|
|
|
},
|
2023-08-27 21:30:54 -04:00
|
|
|
docs: {
|
2023-12-12 20:38:47 -08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-08-27 21:30:54 -04:00
|
|
|
// Please change this to your repo.
|
2023-12-12 20:38:47 -08:00
|
|
|
editUrl: "https://github.com/microsoft/autogen/edit/main/website/",
|
2023-08-27 21:30:54 -04:00
|
|
|
remarkPlugins: [math],
|
|
|
|
rehypePlugins: [katex],
|
|
|
|
},
|
|
|
|
theme: {
|
2023-12-12 20:38:47 -08:00
|
|
|
customCss: require.resolve("./src/css/custom.css"),
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
stylesheets: [
|
|
|
|
{
|
2023-12-12 20:38:47 -08:00
|
|
|
href: "https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css",
|
|
|
|
integrity:
|
|
|
|
"sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc",
|
|
|
|
crossorigin: "anonymous",
|
2023-08-27 21:30:54 -04:00
|
|
|
},
|
|
|
|
],
|
|
|
|
|
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
require.resolve("@easyops-cn/docusaurus-search-local"),
|
|
|
|
{
|
|
|
|
// ... Your options.
|
|
|
|
// `hashed` is recommended as long-term-cache of index file is possible.
|
|
|
|
hashed: true,
|
2023-12-12 20:38:47 -08:00
|
|
|
blogDir: "./blog/",
|
2023-08-27 21:30:54 -04:00
|
|
|
// For Docs using Chinese, The `language` is recommended to set to:
|
|
|
|
// ```
|
|
|
|
// language: ["en", "zh"],
|
|
|
|
// ```
|
|
|
|
// When applying `zh` in language, please install `nodejieba` in your project.
|
|
|
|
},
|
|
|
|
],
|
2024-02-11 13:04:43 -05:00
|
|
|
customPostCssPlugin,
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-client-redirects",
|
|
|
|
{
|
|
|
|
redirects: [
|
|
|
|
{
|
2024-03-04 13:02:26 -05:00
|
|
|
to: "/docs/topics/llm_configuration",
|
2024-02-11 13:04:43 -05:00
|
|
|
from: ["/docs/llm_endpoint_configuration/"],
|
|
|
|
},
|
2024-03-02 01:24:56 -05:00
|
|
|
{
|
|
|
|
to: "/docs/ecosystem/memgpt/",
|
|
|
|
from: ["/docs/Ecosystem"],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: "/docs/Getting-Started",
|
|
|
|
from: ["/docs/"],
|
|
|
|
},
|
2024-03-04 13:02:26 -05:00
|
|
|
{
|
|
|
|
to: "/docs/topics/llm_configuration",
|
|
|
|
from: ["/docs/llm_configuration"],
|
|
|
|
},
|
2024-03-12 21:46:30 -07:00
|
|
|
{
|
|
|
|
to: "/docs/tutorial/chat-termination",
|
|
|
|
from: ["/docs/tutorial/termination"],
|
|
|
|
},
|
2024-03-13 08:47:41 -07:00
|
|
|
{
|
|
|
|
to: "/docs/tutorial/what-next",
|
|
|
|
from: ["/docs/tutorial/what-is-next"],
|
2024-03-21 07:16:37 +11:00
|
|
|
},
|
|
|
|
{
|
|
|
|
to: "/docs/topics/non-openai-models/local-lm-studio",
|
|
|
|
from: ["/docs/topics/non-openai-models/lm-studio"],
|
2024-03-13 08:47:41 -07:00
|
|
|
}
|
2024-02-11 13:04:43 -05:00
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|
2023-08-27 21:30:54 -04:00
|
|
|
],
|
|
|
|
};
|