-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
43 lines (41 loc) · 990 Bytes
/
astro.config.mjs
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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightDocSearch from '@astrojs/starlight-docsearch';
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
site: 'https://randombeeper.github.io/',
base: 'starlight',
trailingSlash: 'always',
integrations: [
starlight({
title: 'James Astro Testing',
social: {
github: 'https://randombeeper.github.io',
discord: 'https://alg.li/discord',
},
editLink: {
baseUrl: 'https://github.com/randombeeper/starlight/',
},
pagefind:false,
sidebar: [
{
label: 'Guides',
autogenerate: { directory: 'guides' },
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
plugins: [
starlightDocSearch({
appId: '7KX1KKVYQZ',
apiKey: '11c3cc057560ae8269998fc74e263147',
indexName: 'crawler_docusaurus',
}),
],
}),
sitemap()
],
});