Files
automatisch/packages/docs/pages/.vitepress/config.js

109 lines
3.2 KiB
JavaScript

import { defineConfig } from 'vitepress';
const BASE = process.env.BASE_URL || '/';
export default defineConfig({
base: BASE,
lang: 'en-US',
title: 'Automatisch Docs',
description:
'Build workflow automation without spending time and money. No code is required.',
themeConfig: {
siteTitle: 'Automatisch',
nav: [
{
text: 'Guide',
link: '/',
activeMatch: '^/$|^/guide/',
},
{
text: 'Connections',
link: '/connections/twitter',
activeMatch: '/connections/',
},
],
sidebar: {
'/connections/': [
{
text: 'Connections',
collapsible: true,
items: [
{ text: 'Twitter', link: '/connections/twitter' },
{ text: 'Slack', link: '/connections/slack' },
{ text: 'Scheduler', link: '/connections/scheduler' },
// Temporarily disable following pages until we release github and typeform integrations
// { text: 'Github', link: '/connections/github' },
// { text: 'Typeform', link: '/connections/typeform' },
],
},
],
'/': [
{
text: 'Getting Started',
collapsible: true,
items: [
{
text: 'What is Automatisch?',
link: '/',
activeMatch: '/',
},
{ text: 'Installation', link: '/guide/installation' },
{ text: 'Key concepts', link: '/guide/key-concepts' },
{ text: 'Create flow', link: '/guide/create-flow' },
],
},
{
text: 'Integrations',
collapsible: true,
items: [
{ text: 'Available apps', link: '/guide/available-apps' },
{
text: 'Request integration',
link: '/guide/request-integration',
},
],
},
{
text: 'Advanced',
collapsible: true,
items: [
{ text: 'Configuration', link: '/introduction' },
{ text: 'Database', link: '/introduction' },
{ text: 'Credentials', link: '/introduction' },
{ text: 'Telemetry', link: '/advanced/telemetry' },
],
},
{
text: 'Contributing',
collapsible: true,
items: [
{ text: 'Contribution guide', link: '/introduction' },
{ text: 'Build integration', link: '/introduction' },
],
},
{
text: 'Other',
collapsible: true,
items: [
{ text: 'License', link: '/other/license' },
{ text: 'Community', link: '/other/community' },
],
},
],
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/automatisch/automatisch' },
{ icon: 'twitter', link: 'https://twitter.com/automatischio' },
{ icon: 'discord', link: 'https://discord.gg/dJSah9CVrC' },
],
editLink: {
pattern:
'https://github.com/automatisch/automatisch/edit/main/packages/docs/pages/:path',
text: 'Edit this page on GitHub',
},
footer: {
copyright: 'Copyright © 2021 Automatisch. All rights reserved.',
},
},
});