mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-01-06 01:40:12 -06:00
This is only to avoid accidentally leaking any secrets from early development especially in the light of short-sha attacks.
69 lines
1.6 KiB
JavaScript
69 lines
1.6 KiB
JavaScript
import { defineConfig } from "astro/config";
|
|
|
|
import icon from "astro-icon";
|
|
import robotsTxt from "astro-robots-txt";
|
|
import sitemap from "@astrojs/sitemap";
|
|
import solid from "@astrojs/solid-js";
|
|
import starlight from "@astrojs/starlight";
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://trailbase.io",
|
|
integrations: [
|
|
icon(),
|
|
solid(),
|
|
starlight({
|
|
title: "TrailBase",
|
|
customCss: ["./src/tailwind.css"],
|
|
social: {
|
|
github: "https://github.com/trailbaseio/trailbase",
|
|
discord: "https://discord.gg/X8cWs7YC22",
|
|
},
|
|
sidebar: [
|
|
{
|
|
label: "Getting Started",
|
|
items: [
|
|
{
|
|
label: "Starting Up",
|
|
slug: "getting-started/starting-up",
|
|
},
|
|
{
|
|
label: "First App",
|
|
slug: "getting-started/first-app",
|
|
},
|
|
{
|
|
label: "Philosophy",
|
|
slug: "getting-started/philosophy",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
label: "Documentation",
|
|
autogenerate: {
|
|
directory: "documentation",
|
|
},
|
|
},
|
|
{
|
|
label: "Comparisons",
|
|
autogenerate: {
|
|
directory: "comparison",
|
|
},
|
|
},
|
|
{
|
|
label: "Reference",
|
|
autogenerate: {
|
|
directory: "reference",
|
|
},
|
|
},
|
|
],
|
|
}),
|
|
sitemap(),
|
|
robotsTxt(),
|
|
tailwind({
|
|
// Disable the default base styles:
|
|
applyBaseStyles: false,
|
|
}),
|
|
],
|
|
});
|