-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.mjs
40 lines (39 loc) · 1.02 KB
/
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
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: "https://riot.ml",
integrations: [
starlight({
title: "Riot",
logo: {
src: "./src/assets/riot.png",
},
social: {
github: "https://github.com/riot-ml/riot",
discord: "https://discord.gg/59Khzk2UBW",
},
customCss: ["./src/styles/custom.css"],
sidebar: [
{ label: "Getting Started", slug: "getting-started" },
{
label: "Guides",
items: [{ label: "Example Guide", slug: "guides/example" }],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
expressiveCode: {
themes: ["snazzy-light", 'monokai'],
shiki: {
langs: ["ocaml", "erlang", "javascript"],
},
},
}),
tailwind({ applyBaseStyles: false }),
],
});