import {themes as prismThemes} from 'prism-react-renderer';
const providerDropDownListItems = [
{
label: 'AWS',
to: '/providers/aws',
},
{
label: 'Azure',
to: '/providers/azure',
},
{
label: 'Google',
to: '/providers/google',
},
{
label: 'Databricks',
to: '/providers/databricks',
},
{
label: 'Snowflake',
to: '/providers/snowflake',
},
{
label: 'Confluent',
to: '/providers/confluent',
},
{
label: 'Okta',
to: '/providers/okta',
},
{
label: 'GitHub',
to: '/providers/github',
},
{
label: 'OpenAI',
to: '/providers/openai',
},
{
label: '... More',
to: '/providers',
},
];
const footerStackQLItems = [
{
label: 'Documentation',
to: '/stackqldocs',
},
{
label: 'Install',
to: '/install',
},
{
label: 'Contact us',
to: '/contact-us',
},
];
const footerMoreItems = [
{
label: 'Providers',
to: '/providers',
},
{
label: 'stackql-deploy',
to: '/stackql-deploy',
},
{
label: 'Blog',
to: '/blog',
},
{
label: 'Tutorials',
to: '/tutorials',
},
];
const config = {
title: 'StackQL Deploy',
baseUrl: '/',
tagline: 'Deploy and Test Cloud and SaaS Environments using StackQL',
favicon: 'img/favicon.ico',
staticDirectories: ['static'],
url: 'https://stackql-deploy.io',
organizationName: 'stackql',
projectName: 'stackql-deploy-rs',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
({
docs: {
sidebarPath: './sidebars.js',
editUrl: 'https://github.com/stackql-labs/stackql-deploy-rs/tree/main/website/',
routeBasePath: '/', },
theme: {
customCss: './src/css/custom.css',
},
}),
],
],
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
themeConfig:
({
image: 'img/stackql-cover.png',
navbar: {
logo: {
alt: 'StackQL Deploy',
href: '/',
src: 'img/stackql-deploy-logo.svg',
srcDark: 'img/stackql-deploy-logo-white.svg',
},
items: [
{
to: '/install',
position: 'left',
label: 'Install',
},
{
to: '/stackqldocs',
position: 'left',
label: 'StackQL Docs',
},
{
to: '/providers',
type: 'dropdown',
label: 'Providers',
position: 'left',
items: providerDropDownListItems,
},
{
type: 'dropdown',
label: 'More',
position: 'left',
items: [
{
to: '/blog',
label: 'Blog',
},
{
to: '/tutorials',
label: 'Tutorials',
},
],
},
{
href: 'https://github.com/stackql-labs/stackql-deploy-rs',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
footer: {
style: 'dark',
logo: {
alt: 'StackQL',
href: '/',
src: 'img/stackql-deploy-logo.svg',
srcDark: 'img/stackql-deploy-logo-white.svg',
},
links: [
{
title: 'StackQL',
items: footerStackQLItems,
},
{
title: 'More',
items: footerMoreItems,
},
],
copyright: `© ${new Date().getFullYear()} StackQL Studios`,
},
colorMode: {
respectPrefersColorScheme: true,
},
prism: {
theme: prismThemes.nightOwl,
darkTheme: prismThemes.dracula,
},
}),
};
export default config;