-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathastro.config.mjs
More file actions
82 lines (80 loc) · 2.44 KB
/
astro.config.mjs
File metadata and controls
82 lines (80 loc) · 2.44 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
export default defineConfig({
site: "https://rviscomi.github.io",
base: "/capo.js",
integrations: [
starlight({
title: "capo.js",
head: [
{
tag: "script",
attrs: {
async: true,
src: "https://www.googletagmanager.com/gtag/js?id=G-4BD76ZZBR6",
},
},
{
tag: "script",
content: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-4BD76ZZBR6');`,
},
{
tag: "meta",
attrs: {
property: "og:image",
content: "https://rviscomi.github.io/capo.js/capo-social-alt.webp",
},
},
],
social: [
{ label: "GitHub", href: "https://github.com/rviscomi/capo.js", icon: "github" },
{ label: "Bluesky", href: "https://bsky.app/profile/rviscomi.dev", icon: "blueSky" },
],
editLink: {
baseUrl: "https://github.com/rviscomi/capo.js/edit/main/docs/",
},
sidebar: [
{
label: "Home",
link: "/",
},
{
label: "Demo 🚀",
link: "/user/demo/",
},
{
label: "Getting started",
items: [
{ label: "Quick start", link: "/user/quick-start/" },
{ label: "Rules", link: "/user/rules/" },
{ label: "Improve performance", link: "/user/performance/" },
{ label: "Interpret results", link: "/user/actionability/" },
{
label: "Static vs dynamic assessment",
link: "/user/assessment-mode/",
},
{ label: "Validation", link: "/user/validation/" },
{ label: "Extension", link: "/user/extension/" },
],
},
{
label: "Developer guides",
items: [
{ label: "Contributing to Capo", link: "/developer/contributing/" },
{ label: "Custom adapters", link: "/developer/custom-adapters/" },
{
label: "Installing the extension locally",
link: "/developer/crx-local/",
},
{ label: "Migration to v2", link: "/migration-v2/" },
],
},
],
customCss: ["/src/styles/custom.css"],
}),
],
});