| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import {themes as prismThemes} from 'prism-react-renderer';
- import type {Config} from '@docusaurus/types';
- import type * as Preset from '@docusaurus/preset-classic';
- const config: Config = {
- title: 'Gazperi',
- tagline: 'Educação e consultoria em IA',
- favicon: 'img/favicon.svg',
- future: {
- v4: true,
- },
- url: 'https://gazperi.com',
- baseUrl: '/',
- onBrokenLinks: 'throw',
- onBrokenMarkdownLinks: 'warn',
- i18n: {
- defaultLocale: 'pt-BR',
- locales: ['pt-BR'],
- },
- presets: [
- [
- 'classic',
- {
- docs: {
- sidebarPath: './sidebars.ts',
- },
- blog: {
- showReadingTime: true,
- feedOptions: {
- type: ['rss', 'atom'],
- xslt: true,
- },
- onInlineTags: 'warn',
- onInlineAuthors: 'warn',
- onUntruncatedBlogPosts: 'warn',
- },
- theme: {
- customCss: './src/css/custom.css',
- },
- } satisfies Preset.Options,
- ],
- ],
- themeConfig: {
- image: 'img/og-default.png',
- colorMode: {
- respectPrefersColorScheme: true,
- },
- navbar: {
- title: 'GAZPERI',
- logo: {
- alt: 'Gazperi',
- src: 'img/logo-light.svg',
- srcDark: 'img/logo-dark.svg',
- },
- items: [
- {
- type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
- position: 'left',
- label: 'Tutorial',
- },
- {to: '/blog', label: 'Blog', position: 'left'},
- ],
- },
- footer: {
- style: 'light',
- links: [],
- copyright: `© ${new Date().getFullYear()} Gazperi · Vila Velha, ES`,
- },
- prism: {
- theme: prismThemes.github,
- darkTheme: prismThemes.dracula,
- },
- } satisfies Preset.ThemeConfig,
- };
- export default config;
|