cofounder/docs/docusaurus.config.js

103 lines
2.9 KiB
JavaScript
Raw Normal View History

2024-11-06 04:38:23 +00:00
// @ts-check
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config
import {themes as prismThemes} from 'prism-react-renderer';
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Cofounder',
tagline: 'ai-generated apps , full stack + generative UI',
favicon: 'img/favicon.ico',
// Set the production url of your site here
2024-11-06 05:12:55 +00:00
url: 'https://raidendotai.github.io',
2024-11-06 04:38:23 +00:00
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
2024-11-06 05:10:26 +00:00
baseUrl: '/cofounder',
2024-11-06 04:38:23 +00:00
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'raidendotai', // Usually your GitHub org/user name.
projectName: 'cofounder', // Usually your repo name.
2024-11-06 05:10:26 +00:00
trailingSlash: false,
2024-11-06 04:38:23 +00:00
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: './sidebars.js',
editUrl: 'https://github.com/raidendotai/cofounder/blob/main/docs',
},
theme: {
customCss: './src/css/custom.css',
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/logo.png',
navbar: {
title: 'Cofounder',
logo: {
alt: 'Cofounder logo',
src: 'img/logo.png',
},
items: [
{
type: 'docSidebar',
sidebarId: 'docsSidebar',
position: 'left',
label: 'Docs',
},
{
href: 'https://x.com/n_raidenai',
label: '@n_raidenai',
position: 'right',
}, {
href: 'https://cofounder.openinterface.ai',
label: 'Website',
position: 'right',
},
{
href: 'https://github.com/raidendotai/cofounder',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [ ],
copyright: `Copyright © ${new Date().getFullYear()} Cofounder. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
}),
};
export default config;