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', markdown: { hooks: { onBrokenMarkdownLinks: 'warn', }, }, i18n: { defaultLocale: 'pt-BR', locales: ['pt-BR'], }, headTags: [ { tagName: 'link', attributes: { rel: 'manifest', href: '/img/icons/site.webmanifest', }, }, { tagName: 'link', attributes: { rel: 'apple-touch-icon', sizes: '180x180', href: '/img/icons/apple-touch-icon.png', }, }, { tagName: 'meta', attributes: { name: 'theme-color', content: '#b85c38', }, }, { tagName: 'script', attributes: { defer: 'true', src: 'https://analytics.gazperi.com/script.js', 'data-website-id': '79dede7f-ca8d-43db-bda0-8e8ccfceaad2', }, }, { tagName: 'script', attributes: { type: 'application/ld+json', }, innerHTML: JSON.stringify({ '@context': 'https://schema.org', '@type': 'Organization', name: 'Gazperi', alternateName: 'Alfredo Gazperi', url: 'https://gazperi.com', logo: 'https://gazperi.com/img/logo-light.svg', sameAs: [ 'https://linkedin.com/in/gazperi', ], founder: { '@type': 'Person', name: 'Alfredo Gazperi', email: 'alfredo@gazperi.com', jobTitle: 'Educador e consultor em IA', }, }), }, ], plugins: [ [ './plugins/copy-md/index.ts', { sourceDir: 'docs', routeBasePath: 'educacao', }, ], ], presets: [ [ 'classic', { docs: { sidebarPath: './sidebars.ts', routeBasePath: '/educacao', }, blog: false, theme: { customCss: './src/css/custom.css', }, } satisfies Preset.Options, ], ], themeConfig: { image: 'img/og-default.png', metadata: [ {name: 'description', content: 'Alfredo Gazperi — consultoria e educação no novo mundo de trabalho com IA. Foco em Claude e Claude Code para empresas e colaboradores.'}, {name: 'keywords', content: 'IA, Claude, Claude Code, Anthropic, consultoria, educação, Alfredo Gazperi'}, {property: 'og:type', content: 'website'}, {property: 'og:locale', content: 'pt_BR'}, {property: 'og:site_name', content: 'Gazperi'}, {name: 'twitter:card', content: 'summary_large_image'}, ], colorMode: { respectPrefersColorScheme: true, }, navbar: { title: 'GAZPERI', logo: { alt: 'Gazperi', src: 'img/logo-light.svg', srcDark: 'img/logo-dark.svg', }, items: [], }, 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;