Added docs
This commit is contained in:
50
docs/astro.config.mjs
Normal file
50
docs/astro.config.mjs
Normal file
@@ -0,0 +1,50 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from "astro/config";
|
||||
import starlight from "@astrojs/starlight";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://docs.ascently.app",
|
||||
integrations: [
|
||||
starlight({
|
||||
title: "Ascently",
|
||||
description:
|
||||
"A FOSS climbing tracking app with offline-first design and optional sync server",
|
||||
logo: {
|
||||
light: "./src/assets/logo.svg",
|
||||
dark: "./src/assets/logo-dark.svg",
|
||||
},
|
||||
favicon: "/favicon.svg",
|
||||
social: [
|
||||
{
|
||||
icon: "github",
|
||||
label: "GitHub",
|
||||
href: "https://git.atri.dad/atridad/Ascently",
|
||||
},
|
||||
{
|
||||
icon: "email",
|
||||
label: "Contact",
|
||||
href: "mailto:me@atri.dad",
|
||||
},
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
label: "Download",
|
||||
link: "/download/",
|
||||
},
|
||||
{
|
||||
label: "Self-Hosted Sync",
|
||||
items: [
|
||||
{ label: "Overview", slug: "sync/overview" },
|
||||
{ label: "Quick Start", slug: "sync/quick-start" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Reference",
|
||||
autogenerate: { directory: "reference" },
|
||||
},
|
||||
],
|
||||
customCss: ["./src/styles/custom.css"],
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user