-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
106 lines (105 loc) · 3.19 KB
/
Copy pathastro.config.mjs
File metadata and controls
106 lines (105 loc) · 3.19 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
site: 'https://anchor-positioning-in-space.schalkneethling.com',
integrations: [
starlight({
title: 'Anchor Positioning in Space',
description: 'A comprehensive guide to CSS Anchor Positioning',
favicon: '/favicon.svg',
social: [
{
icon: 'github',
label: 'GitHub',
href: 'https://github.com/schalkneethling/anchor-positioning-in-space',
},
],
head: [
{
tag: 'link',
attrs: { rel: 'icon', type: 'image/png', href: '/favicon-96x96.png', sizes: '96x96' },
},
{
tag: 'link',
attrs: { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
},
{
tag: 'link',
attrs: { rel: 'shortcut icon', href: '/favicon.ico' },
},
{
tag: 'link',
attrs: { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
},
{
tag: 'meta',
attrs: { name: 'apple-mobile-web-app-title', content: 'Anchor Positioning In Space' },
},
{
tag: 'link',
attrs: { rel: 'manifest', href: '/site.webmanifest' },
},
{
tag: 'meta',
attrs: {
property: 'og:image',
content: 'https://anchor-positioning-in-space.schalkneethling.com/apis-social-share.png',
},
},
{
tag: 'meta',
attrs: { property: 'og:type', content: 'website' },
},
{
tag: 'meta',
attrs: { property: 'og:site_name', content: 'Anchor Positioning in Space' },
},
{
tag: 'meta',
attrs: { name: 'twitter:card', content: 'summary_large_image' },
},
{
tag: 'meta',
attrs: {
name: 'twitter:image',
content: 'https://anchor-positioning-in-space.schalkneethling.com/apis-social-share.png',
},
},
{
tag: 'script',
attrs: {
defer: true,
src: 'https://cloud.umami.is/script.js',
'data-website-id': 'b68da2de-1723-422a-a785-6876296af749',
},
},
],
customCss: ['./src/styles/space-theme.css'],
components: {
ThemeSelect: './src/components/NoThemeSelect.astro',
},
sidebar: [
{
label: 'The Series',
items: [
{ label: 'Part 1: The Fundamentals', slug: 'parts/fundamentals' },
{ label: 'Part 2: Precise Control', slug: 'parts/precise-control' },
{ label: 'Part 3: Fallbacks', slug: 'parts/fallbacks' },
{ label: 'Part 4: Scoping and Visibility', slug: 'parts/scoping-visibility' },
],
},
{
label: 'Playgrounds',
items: [
{ label: 'position-area', link: '/playground/position-area/' },
],
},
],
editLink: {
baseUrl: 'https://github.com/schalkneethling/anchor-positioning-in-space/edit/main/',
},
lastUpdated: true,
disable404Route: true,
}),
],
});