-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
80 lines (79 loc) · 2.09 KB
/
astro.config.mjs
File metadata and controls
80 lines (79 loc) · 2.09 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
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
vite: {
ssr: {
noExternal: ["hast-util-to-html", "zwitch"],
},
},
integrations: [
starlight({
head: [
// Example: add Fathom analytics script tag.
{
tag: "script",
attrs: {
src: "/plugins/theme.js",
},
},
{
tag: "meta",
attrs: {
"og:image": "/imgs/og-cover.png",
},
},
],
favicon: "/favicon.ico",
title: "",
social: {
github: "https://github.com/ava-labs",
},
editLink: {
baseUrl: "https://github.com/c-cpt/ava-guide-docs/edit/main/",
},
logo: {
src: "./src/assets/dev_logo.svg",
replacesTitle: true,
},
components: {
Hero: "./src/components/Hero.astro",
Footer: "./src/components/Footer.astro",
},
sidebar: [
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{
label: "Getting Started With Blockchain Development",
slug: "guides/getting_started_with_blockchain_development",
},
],
},
{
label: "Builder Stories",
items: [
// Each item here is one entry in the navigation menu.
{
label: "BitNote Builds a Safe Place for Your Most Sensitive Data",
slug: "builder-stories/bitnote_safe_place",
},
{
label: "Colony Lab Democratizes Early-Stage Investment",
slug: "builder-stories/colony-lab-emocratizes-early-stage-investment",
},
],
},
// {
// label: "Reference",
// autogenerate: { directory: "reference" },
// },
],
customCss: ["./src/tailwind.css"],
}),
tailwind({ applyBaseStyles: false }),
],
});