Repository navigation
Expand file tree
/
Copy pathastro.config.mjs
More file actions
97 lines (95 loc) · 2.69 KB
/
Copy pathastro.config.mjs
File metadata and controls
97 lines (95 loc) · 2.69 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import { ion } from "starlight-ion-theme";
const organization = {
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://osvauld.com/#organization",
url: "https://osvauld.com",
name: "Osvauld",
legalName: "OSVAULD SECURITY SOLUTIONS PRIVATE LIMITED",
description:
"Osvauld builds Xnet: private, sovereign shared software for people and their AI.",
sameAs: [
"https://github.com/osvauld",
"https://in.linkedin.com/company/osvauld",
"https://buymeacoffee.com/osvauld",
],
};
export default defineConfig({
site: "https://docs.osvauld.com",
// Pages are served without a trailing slash (wrangler.jsonc html_handling).
trailingSlash: "never",
integrations: [
starlight({
title: "Osvauld",
description: "Documentation for Xnet and the current Osvauld runtime.",
favicon: "/favicon.ico",
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/osvauld/osvauld2",
},
{
icon: "email",
label: "Email",
href: "mailto:abe@osvauld.com?subject=Hello%20Osvauld",
},
],
customCss: ["./src/styles/custom.css"],
sidebar: [
{
label: "Start here",
items: [
{ label: "Xnet", link: "/xnet/introduction" },
{ label: "Current status", link: "/runtime/status" },
],
},
{
label: "Current runtime",
items: [
{ label: "Architecture", link: "/runtime/architecture" },
{ label: "Writing Lua apps", link: "/runtime/lua-apps" },
],
},
{
label: "Foundations",
collapsed: true,
items: [
{ label: "Identity", link: "/runtime/identity" },
{ label: "Storage", link: "/runtime/storage" },
{ label: "Vault", link: "/runtime/vault" },
],
},
],
head: [
{
tag: "meta",
attrs: {
property: "og:image",
content: "https://osvauld.com/favicon-96x96.png",
},
},
{
tag: "meta",
attrs: { name: "twitter:card", content: "summary" },
},
{
tag: "script",
attrs: { type: "application/ld+json" },
content: JSON.stringify(organization),
},
{
tag: "script",
attrs: {
"data-goatcounter": "https://osvauld.goatcounter.com/count",
async: true,
src: "https://gc.zgo.at/count.js",
},
},
],
plugins: [ion()],
}),
],
});