import {themes as prismThemes} from 'prism-react-renderer'; import type {Config} from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; // This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) const config: Config = { title: 'n.eko', tagline: 'A self hosted virtual browser that runs in docker', favicon: 'img/favicon.ico', // Set the production url of your site here url: 'https://neko.m1k1o.net', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/', // GitHub pages deployment config. organizationName: 'm1k1o', projectName: 'neko', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', i18n: { defaultLocale: 'en', locales: ['en'], }, presets: [ [ 'classic', { docs: { sidebarPath: './sidebars.ts', editUrl: 'https://github.com/m1k1o/neko/tree/main/docs/', }, //blog: { // showReadingTime: true, // feedOptions: { // type: ['rss', 'atom'], // xslt: true, // }, // editUrl: 'https://github.com/m1k1o/neko/tree/main/docs/', // // Useful options to enforce blogging best practices // onInlineTags: 'warn', // onInlineAuthors: 'warn', // onUntruncatedBlogPosts: 'warn', //}, theme: { customCss: './src/css/custom.css', }, } satisfies Preset.Options, ], ], themeConfig: { image: 'img/neko-social-card.jpg', navbar: { //title: 'n.eko', logo: { alt: 'n.eko', src: 'img/logo.png', }, items: [ { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: 'Tutorial', }, { href: 'https://github.com/m1k1o/neko', label: 'GitHub', position: 'right', }, ], }, footer: { style: 'dark', links: [ { title: 'Docs', items: [ { label: 'Tutorial', to: '/docs/intro', }, ], }, { title: 'Community', items: [ { label: 'Discord', href: 'https://discord.gg/3U6hWpC', }, { label: 'Issues', href: 'https://github.com/m1k1o/neko/issues', }, ], }, { title: 'More', items: [ { label: 'GitHub', href: 'https://github.com/m1k1o/neko', }, { label: 'Sponsors', href: 'https://github.com/sponsors/m1k1o', }, ], }, ], copyright: `Copyright © ${new Date().getFullYear()} m1k1o. Built with Docusaurus.`, }, prism: { theme: prismThemes.github, darkTheme: prismThemes.dracula, additionalLanguages: ['bash'], }, } satisfies Preset.ThemeConfig, }; export default config;