This commit is contained in:
Franjo Mindek
2025-09-18 11:42:49 +02:00
parent 054c1f8dc5
commit 3f463fb202
155 changed files with 4138 additions and 2994 deletions

View File

@@ -1,32 +1,32 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightBlog from 'starlight-blog';
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import starlightBlog from "starlight-blog";
import tailwind from '@astrojs/tailwind';
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: 'https://your-site.com',
trailingSlash: 'always',
site: "https://your-site.com",
trailingSlash: "always",
integrations: [
starlight({
title: 'Your SaaS',
customCss: ['./src/styles/tailwind.css'],
description: 'Documentation for your SaaS.',
title: "Your SaaS",
customCss: ["./src/styles/tailwind.css"],
description: "Documentation for your SaaS.",
logo: {
src: '/src/assets/logo.webp',
alt: 'Your SaaS',
src: "/src/assets/logo.webp",
alt: "Your SaaS",
},
head: [
// Add your script tags here. Below is an example for Google analytics, etc.
{
tag: 'script',
tag: "script",
attrs: {
src: 'https://www.googletagmanager.com/gtag/js?id=<YOUR-GOOGLE-ANALYTICS-ID>',
src: "https://www.googletagmanager.com/gtag/js?id=<YOUR-GOOGLE-ANALYTICS-ID>",
},
},
{
tag: 'script',
tag: "script",
content: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
@@ -37,49 +37,49 @@ export default defineConfig({
},
],
editLink: {
baseUrl: 'https://github.com/<your-repo>',
baseUrl: "https://github.com/<your-repo>",
},
components: {
SiteTitle: './src/components/MyHeader.astro',
ThemeSelect: './src/components/MyThemeSelect.astro',
Head: './src/components/HeadWithOGImage.astro',
PageTitle: './src/components/TitleWithBannerImage.astro',
SiteTitle: "./src/components/MyHeader.astro",
ThemeSelect: "./src/components/MyThemeSelect.astro",
Head: "./src/components/HeadWithOGImage.astro",
PageTitle: "./src/components/TitleWithBannerImage.astro",
},
social: {
github: 'https://github.com/wasp-lang/open-saas',
twitter: 'https://twitter.com/wasplang',
discord: 'https://discord.gg/aCamt5wCpS',
github: "https://github.com/wasp-lang/open-saas",
twitter: "https://twitter.com/wasplang",
discord: "https://discord.gg/aCamt5wCpS",
},
sidebar: [
{
label: 'Start Here',
label: "Start Here",
items: [
{
label: 'Introduction',
link: '/',
label: "Introduction",
link: "/",
},
],
},
{
label: 'Guides',
label: "Guides",
items: [
{
label: 'Example Guide',
link: '/guides/example/',
label: "Example Guide",
link: "/guides/example/",
},
],
},
],
plugins: [
starlightBlog({
title: 'Blog',
customCss: ['./src/styles/tailwind.css'],
title: "Blog",
customCss: ["./src/styles/tailwind.css"],
authors: {
Dev: {
name: 'Dev',
title: 'Dev @ Your SaaS',
picture: '/CRAIG_ROCK.png', // Images in the `public` directory are supported.
url: 'https://your-site.com',
name: "Dev",
title: "Dev @ Your SaaS",
picture: "/CRAIG_ROCK.png", // Images in the `public` directory are supported.
url: "https://your-site.com",
},
},
}),