meltano
1/* eslint-disable no-undef */
2// @ts-nocheck
3// Note: type annotations allow type checking and IDEs autocompletion
4
5const lightCodeTheme = require('prism-react-renderer/themes/github');6const darkCodeTheme = require('prism-react-renderer/themes/oceanicNext');7
8/** @type {import('@docusaurus/types').Config} */
9const config = {10title: 'Meltano Documentation',11tagline: '',12url: 'https://docs.meltano.com',13baseUrl: '/',14onBrokenLinks: 'log',15onBrokenMarkdownLinks: 'log',16favicon: 'img/favicon.png',17
18// Even if you don't use internalization, you can use this field to set useful19// metadata like html lang. For example, if your site is Chinese, you may want20// to replace "en" with "zh-Hans".21i18n: {22defaultLocale: 'en',23locales: ['en'],24},25
26plugins: ['docusaurus-plugin-sass'],27
28presets: [29[30'classic',31/** @type {import('@docusaurus/preset-classic').Options} */32({33docs: {34routeBasePath: '/',35sidebarPath: require.resolve('./sidebars.js'),36// Please change this to your repo.37// Remove this to remove the "edit this page" links.38editUrl: 'https://github.com/meltano/meltano/blob/main/docs',39},40blog: {41routeBasePath: '/changelog',42blogTitle: 'Changelog',43blogSidebarTitle: 'All Releases',44blogDescription: '',45postsPerPage: 5,46showReadingTime: false,47},48theme: {49customCss: require.resolve('./src/css/custom.css'),50},51}),52],53],54
55themeConfig:56/** @type {import('@docusaurus/preset-classic').ThemeConfig} */57({58colorMode: {59defaultMode: 'light',60disableSwitch: false,61respectPrefersColorScheme: true,62},63// announcementBar: {64// id: 'meltano_docs_announcment',65// content: '<a href="https://meltano.com/blog/introducing-meltano-cloud-you-build-the-pipelines-we-manage-the-infrastructure/">⚡ Meltano Cloud is now in Public Beta: you define the pipeline, we manage the infra. Sign up now and claim your 100 free credits! ⚡</a>',66// backgroundColor: '#311772',67// textColor: '#F5F7FA',68// isCloseable: true,69// },70// Replace with your project's social card71image: 'img/docusaurus-social-card.jpg',72navbar: {73title: '| Docs',74logo: {75alt: 'Purple dragon with the meltano wordmark',76src: 'img/meltano.svg',77},78items: [79{80type: 'search',81position: 'right',82},83{84to: '/getting-started/installation/',85label: 'Get Started',86position: 'left',87className: 'header-get-started-link',88'aria-label': 'Get Started',89},90{91to: '/tutorials',92label: 'Tutorials',93position: 'left',94className: 'header-tutorials-link',95'aria-label': 'Tutorials',96},97{98to: '/getting-started/',99label: 'Docs',100position: 'left',101className: 'header-docs-link',102'aria-label': 'Docs',103},104{105to: '/changelog',106label: 'Changelog',107position: 'left',108className: 'header-changelog-link',109'aria-label': 'Changelog',110},111{112href: 'https://github.com/meltano/meltano',113label: ' ',114position: 'right',115className: 'header-github-link',116'aria-label': 'GitHub repository',117},118{119href: 'https://meltano.com/slack',120label: ' ',121position: 'right',122className: 'header-slack-link',123'aria-label': 'Slack community',124},125],126},127footer: {128style: 'light',129links: [130{131title: 'The Project',132items: [133{134label: 'Our Mission',135to: 'https://handbook.meltano.com/company/#mission',136},137{138label: 'Our Vision',139to: 'https://handbook.meltano.com/company/#vision',140},141{142label: 'Roadmap',143to: 'https://handbook.meltano.com/product/roadmap',144},145{146label: 'Strategy',147to: 'https://handbook.meltano.com/company/#strategy',148},149],150},151{152title: 'Company',153items: [154{155label: 'Handbook',156href: 'https://handbook.meltano.com/',157},158{159label: 'Values',160href: 'https://handbook.meltano.com/company/values',161},162{163label: 'History',164href: 'https://handbook.meltano.com/timeline',165},166],167},168{169title: 'Community',170items: [171{172label: 'Slack',173href: 'https://meltano.com/slack',174},175{176label: 'MeltanoLabs',177href: 'https://github.com/MeltanoLabs',178},179{180label: 'Meltano Hub',181href: 'https://hub.meltano.com/',182},183],184},185{186title: 'Get Help',187items: [188{189label: 'Contact',190href: 'https://meltano.com/slack',191},192{193label: 'StackOverflow',194href: 'https://stackoverflow.com/questions/tagged/meltano',195},196],197},198],199copyright: `Copyright © ${new Date().getFullYear()} Meltano.`,200},201prism: {202theme: lightCodeTheme,203darkTheme: darkCodeTheme,204},205docs: {206sidebar: {207hideable: true,208},209},210algolia: {211appId: 'RH6DR0I7R7',212apiKey: '44af7e07962ccb69a33accdb699d3347',213indexName: 'meltanodocs',214// contextualSearch: true,215// searchParameters: {},216// searchPagePath: "search",217},218}),219};220
221module.exports = config;222