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({
|
2025-02-22 23:12:11 +03:00
|
|
|
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/' },
|
2025-02-23 22:40:52 +03:00
|
|
|
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-23 22:40:52 +03:00
|
|
|
],
|
|
|
|
},
|
2025-02-24 20:21:15 +03:00
|
|
|
{
|
|
|
|
label: 'Endpoints',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Endpoints list', slug: 'docs/endpoints/endpoints-list'
|
2025-02-25 17:14:11 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Get currency rate - /api/getRate',
|
|
|
|
slug: 'docs/endpoints/getrate'
|
|
|
|
},
|
2025-02-26 13:02:01 +03:00
|
|
|
{
|
|
|
|
label: 'Create Charts - /api/getChart',
|
|
|
|
slug: 'docs/endpoints/create-chart'
|
|
|
|
},
|
2025-02-24 20:21:15 +03:00
|
|
|
],
|
|
|
|
},
|
2025-02-23 22:40:52 +03:00
|
|
|
],
|
2025-02-22 23:07:20 +03:00
|
|
|
}),
|
|
|
|
],
|
|
|
|
});
|