Something went wrong. Try again.
A mapping language to compose SQL for Go.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */const config = { title: 'StitchQL', tagline: 'Write SQL. Share the pieces. Generate Go.', favicon: 'img/favicon.svg', url: process.env.DOCS_URL || 'https://nemith.tngl.io', baseUrl: process.env.DOCS_BASE_URL || '/stitchql/', trailingSlash: true, onBrokenLinks: 'throw', markdown: { hooks: {onBrokenMarkdownLinks: 'throw'}, }, i18n: {defaultLocale: 'en', locales: ['en']}, presets: [ ['classic', { docs: { path: 'content', routeBasePath: '/', sidebarPath: './sidebars.js', }, blog: false, theme: {customCss: './src/css/custom.css'}, sitemap: false, }], ], themeConfig: { colorMode: {respectPrefersColorScheme: true}, navbar: { title: 'StitchQL', items: [ {type: 'doc', docId: 'getting-started', label: 'Get started', position: 'left'}, {type: 'doc', docId: 'language/basics', label: 'Language', position: 'left'}, {type: 'doc', docId: 'usage/querying', label: 'Usage', position: 'left'}, {type: 'doc', docId: 'integrations/editors', label: 'Integrations', position: 'left'}, {href: 'https://pkg.go.dev/nemith.io/stitchql', label: 'Go Docs', position: 'right'}, ], }, footer: { style: 'light', links: [ {title: 'Get started', items: [ {label: 'Installation', to: '/installation'}, {label: 'Getting started', to: '/getting-started'}, {label: 'Configuration', to: '/usage/configuration'}, ]}, {title: 'Reference', items: [ {label: 'Language', to: '/language/basics'}, {label: 'Schema and migrations', to: '/usage/migrations'}, {label: 'CLI reference', to: '/usage/cli'}, ]}, {title: 'Project', items: [ {label: 'Go API', href: 'https://pkg.go.dev/nemith.io/stitchql'}, {label: 'Library example', to: '/examples/library'}, {label: 'Contributing', to: '/contributing'}, ]}, ], copyright: 'StitchQL · SQL-first queries for Go and PostgreSQL', }, prism: { theme: prismThemes.github, darkTheme: prismThemes.vsDark, additionalLanguages: ['go', 'sql', 'bash', 'toml', 'json', 'lua'], }, },};
export default config;