-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathastro.config.mjs
More file actions
53 lines (52 loc) · 1.53 KB
/
astro.config.mjs
File metadata and controls
53 lines (52 loc) · 1.53 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { sidebar } from './astro.sidebar';
import { starlightPluginLlmsTxt } from './config/plugins/llms-txt';
// https://astro.build/config
export default defineConfig({
site: 'https://classpaddev.github.io/wiki',
base: '/wiki',
integrations: [
starlight({
title: 'Classpad Dev',
description: 'Dive into the Classpad II fx-CP400! Unlock the full potential of the Classpad with our SDK and create your own app',
logo: {
src: './src/assets/favicon.svg',
},
components: {
SiteTitle: './src/components/starlight/SiteTitle.astro',
Sidebar: './src/components/starlight/Sidebar.astro',
},
head: [
{
tag: 'script',
attrs: {
src: 'https://analytics.ahrefs.com/analytics.js',
'data-key': 'Kb2nywKkyR+dD+Av2GmerQ'
},
},
{
tag: 'link',
attrs: {
href: "https://fonts.googleapis.com/css2?family=Archivo+Black&family=Poppins:wght@700&display=swap"
},
}
],
editLink: {
baseUrl: 'https://github.com/classpaddev/wiki/edit/main/',
},
defaultLocale: 'en',
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/classpaddev/wiki' },
{ icon: 'discord', label: 'Discord', href: 'https://discord.gg/knpcNJTzpd' },
],
sidebar: sidebar,
lastUpdated: true,
favicon: './src/assets/favicon.svg',
customCss: [
'./src/custom.css'
],
plugins: [starlightPluginLlmsTxt()]
}),
],
});