Kekkai/docs/astro.config.mjs

67 lines
1.4 KiB
JavaScript
Raw Normal View History

2025-02-22 23:07:20 +03:00
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Kekkai',
2025-02-24 16:32:32 +03:00
social: { github: 'https://github.com/redume/kekkai' },
editLink: { baseUrl: 'https://github.com/redume/kekkai/edit/main/docs/' },
sidebar: [
{
label: 'Getting started',
items: [
{
2025-02-24 16:32:32 +03:00
label: 'Docker',
slug: 'docs/getting-started/docker',
badge: 'recommended',
},
2025-02-24 20:15:30 +03:00
{
label: 'Contributing', slug: 'docs/getting-started/contributing'
},
],
},
2025-02-24 20:21:15 +03:00
{
label: 'Endpoints',
items: [
{
label: 'Endpoints list', slug: 'docs/endpoints/endpoints-list'
},
{
label: 'Get currency rate - /api/getRate',
slug: 'docs/endpoints/getrate'
},
2025-02-26 13:02:01 +03:00
{
2025-02-26 13:19:21 +03:00
label: 'Create charts - /api/getChart',
2025-02-26 13:02:01 +03:00
slug: 'docs/endpoints/create-chart'
},
2025-02-26 13:19:21 +03:00
{
label: 'Get metadata - /api/metadata',
slug: 'docs/endpoints/metadata'
}
2025-02-24 20:21:15 +03:00
],
},
2025-02-26 14:02:30 +03:00
{
label: 'Config',
items: [
{
label: 'Configure .env',
slug: 'docs/config/config-env'
},
{
label: 'Configure config.hjson',
slug: 'docs/config/config-hjson'
2025-02-26 14:02:30 +03:00
},
{
label: 'Configure Nginx',
slug: 'docs/config/config-nginx'
}
],
},
],
2025-02-22 23:07:20 +03:00
}),
],
});