mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-01-05 09:20:46 -06:00
88 lines
2.2 KiB
JavaScript
88 lines
2.2 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 starlightLinksValidator from "starlight-links-validator";
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://trailbase.io",
|
|
integrations: [
|
|
icon(),
|
|
robotsTxt(),
|
|
sitemap(),
|
|
solid(),
|
|
starlight({
|
|
title: "TrailBase",
|
|
customCss: ["./src/tailwind.css"],
|
|
social: {
|
|
github: "https://github.com/trailbaseio/trailbase",
|
|
discord: "https://discord.gg/X8cWs7YC22",
|
|
},
|
|
plugins: [
|
|
starlightLinksValidator({
|
|
exclude: ["http://localhost:4000/", "http://localhost:4000/**/*"],
|
|
}),
|
|
],
|
|
sidebar: [
|
|
{
|
|
label: "Getting Started",
|
|
items: [
|
|
{
|
|
label: "Starting Up",
|
|
slug: "getting-started/starting-up",
|
|
},
|
|
{
|
|
label: "Tutorials",
|
|
items: [
|
|
{
|
|
label: "API, Vector Search & UI",
|
|
slug: "getting-started/first-ui-app",
|
|
},
|
|
{
|
|
label: "Data CLI",
|
|
slug: "getting-started/first-cli-app",
|
|
},
|
|
{
|
|
label: "Realtime Sync & SSR",
|
|
slug: "getting-started/first-realtime-app",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
label: "Our Goals",
|
|
slug: "getting-started/goals",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
label: "Documentation",
|
|
autogenerate: {
|
|
directory: "documentation",
|
|
},
|
|
},
|
|
{
|
|
label: "Comparisons",
|
|
autogenerate: {
|
|
directory: "comparison",
|
|
},
|
|
},
|
|
{
|
|
label: "Reference",
|
|
autogenerate: {
|
|
directory: "reference",
|
|
},
|
|
},
|
|
],
|
|
}),
|
|
tailwind({
|
|
// Disable the default base styles:
|
|
applyBaseStyles: false,
|
|
}),
|
|
],
|
|
});
|