File tree Expand file tree Collapse file tree 6 files changed +1572
-1609
lines changed Expand file tree Collapse file tree 6 files changed +1572
-1609
lines changed Original file line number Diff line number Diff line change 50
50
"astro" : " ^3.2.0 || ^4.0.0 || ^5.0.0"
51
51
},
52
52
"devDependencies" : {
53
- "astro" : " ^4.15.6 "
53
+ "astro" : " ^5.5.3 "
54
54
}
55
55
}
Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ import icon from "astro-icon";
7
7
import vercel from '@astrojs/vercel/serverless' ;
8
8
9
9
export default defineConfig ( {
10
- output : 'hybrid' ,
11
-
12
- experimental : {
13
- contentLayer : true ,
14
- } ,
15
10
16
11
integrations : [
17
12
starlight ( {
Original file line number Diff line number Diff line change 10
10
"astro" : " astro"
11
11
},
12
12
"dependencies" : {
13
- "@astrojs/check" : " ^0.9.3 " ,
14
- "@astrojs/starlight" : " ^0.28.2 " ,
15
- "@astrojs/starlight-tailwind" : " ^2 .0.3 " ,
16
- "@astrojs/tailwind" : " ^5.1.1 " ,
17
- "@astrojs/vercel" : " ^7. 8.1" ,
13
+ "@astrojs/check" : " ^0.9.4 " ,
14
+ "@astrojs/starlight" : " ^0.32.3 " ,
15
+ "@astrojs/starlight-tailwind" : " ^3 .0.0 " ,
16
+ "@astrojs/tailwind" : " ^6.0.0 " ,
17
+ "@astrojs/vercel" : " ^8.1.2 " ,
18
18
"@vercel/analytics" : " ^1.3.1" ,
19
- "astro" : " ^4.15.9 " ,
19
+ "astro" : " ^5.5.3 " ,
20
20
"astro-icon" : " ^1.1.1" ,
21
21
"cloudinary" : " ^2.5.0" ,
22
22
"clsx" : " ^2.1.1" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { Props } from '@astrojs/starlight/props'
3
3
import Default from ' @astrojs/starlight/components/Head.astro'
4
4
import { CldOgImage } from ' ../../../astro-cloudinary' ;
5
5
6
- const { slug, entry } = Astro .props ;
6
+ const { slug, entry } = Astro .locals . starlightRoute ;
7
7
const { title, ogImageTitle } = entry .data ;
8
8
---
9
9
<Default {... Astro .props }><slot /></Default >
Original file line number Diff line number Diff line change 1
1
import { defineCollection , z } from 'astro:content' ;
2
+ import { docsLoader } from "@astrojs/starlight/loaders" ;
2
3
import { docsSchema } from '@astrojs/starlight/schema' ;
3
4
4
- import { cldAssetsLoader } from '../../../ astro-cloudinary/loaders' ;
5
+ import { cldAssetsLoader } from '../../astro-cloudinary/loaders' ;
5
6
6
7
export const collections = {
7
8
assetsSamplesBasic : defineCollection ( {
@@ -33,6 +34,7 @@ export const collections = {
33
34
} )
34
35
} ) ,
35
36
docs : defineCollection ( {
37
+ loader : docsLoader ( ) ,
36
38
schema : docsSchema ( {
37
39
extend : z . object ( {
38
40
ogImageTitle : z . string ( ) . optional ( ) ,
You can’t perform that action at this time.
0 commit comments