-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
125 lines (124 loc) · 3.73 KB
/
Copy pathastro.config.mjs
File metadata and controls
125 lines (124 loc) · 3.73 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
export default defineConfig({
site: "https://sdfprotocol.org",
integrations: [
starlight({
title: "SDF Protocol",
description:
"The open protocol for structured, agent-readable web content.",
logo: {
light: "./src/assets/sdf-logo-light.svg",
dark: "./src/assets/sdf-logo-dark.svg",
replacesTitle: false,
},
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/sdfprotocol",
},
],
customCss: ["./src/styles/custom.css"],
head: [
{
tag: "meta",
attrs: {
property: "og:image",
content: "https://sdfprotocol.org/og.png",
},
},
{
tag: "meta",
attrs: {
property: "og:image:width",
content: "1200",
},
},
{
tag: "meta",
attrs: {
property: "og:image:height",
content: "630",
},
},
{
tag: "meta",
attrs: {
property: "og:image:alt",
content: "SDF Protocol social preview card",
},
},
{
tag: "meta",
attrs: {
name: "twitter:image",
content: "https://sdfprotocol.org/og.png",
},
},
{
tag: "meta",
attrs: {
name: "twitter:image:alt",
content: "SDF Protocol social preview card",
},
},
],
sidebar: [
{
label: "Overview",
items: [
{ label: "What is SDF?", slug: "" },
{ label: "Why SDF?", slug: "overview/why" },
{ label: "Quick Example", slug: "overview/example" },
{ label: "Scope & Non-Goals", slug: "about/scope" },
{ label: "Governance", slug: "about/governance" },
],
},
{
label: "Specification",
items: [
{ label: "Protocol v0.2", slug: "spec/protocol" },
{ label: "Document Model", slug: "spec/document-model" },
{ label: "Type System", slug: "spec/type-system" },
{ label: "Provenance", slug: "spec/provenance" },
{ label: "Content Negotiation", slug: "spec/content-negotiation" },
{ label: "Well-Known Discovery", slug: "spec/well-known" },
],
},
{
label: "Type Reference",
items: [
{ label: "Type Taxonomy", slug: "types/taxonomy" },
{ label: "article", slug: "types/article" },
{ label: "documentation", slug: "types/documentation" },
{ label: "commerce", slug: "types/commerce" },
{ label: "discussion", slug: "types/discussion" },
{ label: "reference", slug: "types/reference" },
{ label: "data", slug: "types/data" },
{ label: "code", slug: "types/code" },
{ label: "profile", slug: "types/profile" },
{ label: "event", slug: "types/event" },
{ label: "media", slug: "types/media" },
],
},
{
label: "Schemas",
items: [
{ label: "Schema Overview", slug: "schemas/overview" },
{ label: "SDF Document Schema", slug: "schemas/document" },
],
},
{
label: "Research",
items: [
{ label: "Key Findings", slug: "research/findings" },
{ label: "Downstream Evaluation", slug: "research/downstream" },
{ label: "Whitepaper (PDF)", link: "/whitepaper.pdf" },
],
},
],
}),
],
});