-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
91 lines (90 loc) · 2.57 KB
/
astro.config.mjs
File metadata and controls
91 lines (90 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
integrations: [
starlight({
title: 'Wallet API',
description: 'Cryptocurrency payment processing API documentation',
logo: {
src: './src/assets/logo.svg',
},
customCss: ['./src/styles/custom.css'],
social: {
github: 'https://github.com/your-org/wallet-api',
},
defaultLocale: 'root',
locales: {
root: {
label: 'English',
lang: 'en',
},
},
sidebar: [
{
label: 'Getting Started',
items: [
{ label: 'Overview', slug: '' },
{ label: 'Authentication', slug: 'authentication' },
{ label: 'Supported Chains', slug: 'chains' },
],
},
{
label: 'Wallets',
items: [
{ label: 'Overview', slug: 'wallets' },
{ label: 'Create Wallet', slug: 'wallets/create' },
{ label: 'List Wallets', slug: 'wallets/list' },
{ label: 'Get Wallet', slug: 'wallets/get' },
],
},
{
label: 'Addresses',
items: [
{ label: 'Overview', slug: 'addresses' },
{ label: 'Create Address', slug: 'addresses/create' },
{ label: 'Get Address', slug: 'addresses/get' },
{ label: 'List Addresses', slug: 'addresses/list' },
],
},
{
label: 'Payments',
items: [
{ label: 'Overview', slug: 'payments' },
{ label: 'List Payments', slug: 'payments/list' },
{ label: 'Get Payment', slug: 'payments/get' },
],
},
{
label: 'Webhooks',
items: [
{ label: 'Setup', slug: 'webhooks' },
{ label: 'Events', slug: 'webhooks/events' },
{ label: 'Verification', slug: 'webhooks/verification' },
],
},
{
label: 'Reference',
items: [
{ label: 'Security', slug: 'security' },
{ label: 'Error Codes', slug: 'errors' },
{ label: 'Rate Limits', slug: 'rate-limits' },
{ label: 'SDKs', slug: 'sdks' },
],
},
],
head: [
{
tag: 'meta',
attrs: {
name: 'robots',
content: 'noindex, nofollow',
},
},
],
components: {},
editLink: {
baseUrl: 'https://github.com/your-org/wallet-api-docs/edit/main/',
},
}),
],
});