File tree Expand file tree Collapse file tree 4 files changed +796
-541
lines changed
src/content/docs/paper/dev/api Expand file tree Collapse file tree 4 files changed +796
-541
lines changed Original file line number Diff line number Diff line change 1
1
import starlight from "@astrojs/starlight" ;
2
2
import svelte from "@astrojs/svelte" ;
3
+ import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections" ;
4
+ import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers" ;
3
5
import d2 from "astro-d2" ;
4
6
import { defineConfig } from "astro/config" ;
5
7
import starlightLinksValidator from "starlight-links-validator" ;
@@ -228,6 +230,7 @@ export default defineConfig({
228
230
} ,
229
231
"paper/dev/data-component-api" ,
230
232
"paper/dev/pdc" ,
233
+ "paper/dev/menu-type-api" ,
231
234
"paper/dev/custom-inventory-holder" ,
232
235
"paper/dev/scheduler" ,
233
236
"paper/dev/plugin-messaging" ,
@@ -422,6 +425,11 @@ export default defineConfig({
422
425
) ,
423
426
] ,
424
427
expressiveCode : {
428
+ plugins : [ pluginLineNumbers ( ) , pluginCollapsibleSections ( ) ] ,
429
+ defaultProps : {
430
+ showLineNumbers : false ,
431
+ collapseStyle : "collapsible-start" ,
432
+ } ,
425
433
frames : {
426
434
extractFileNameFromCode : false ,
427
435
} ,
Original file line number Diff line number Diff line change 16
16
"@astrojs/starlight" : " ^0.35.2" ,
17
17
"@astrojs/svelte" : " ^7.1.0" ,
18
18
"@fontsource/jetbrains-mono" : " ^5.2.6" ,
19
+ "@expressive-code/plugin-collapsible-sections" : " ^0.41.3" ,
20
+ "@expressive-code/plugin-line-numbers" : " ^0.41.3" ,
19
21
"@fontsource/poppins" : " ^5.2.6" ,
20
22
"astro" : " ^5.12.8" ,
21
23
"astro-d2" : " ^0.8.0" ,
41
43
"engines" : {
42
44
"node" : " 22.x"
43
45
},
44
- "packageManager" : " pnpm@10.8 .0+sha512.0e82714d1b5b43c74610193cb20734897c1d00de89d0e18420aebc5977fa13d780a9cb05734624e81ebd81cc876cd464794850641c48b9544326b5622ca29971 "
46
+ "packageManager" : " pnpm@10.14 .0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748 "
45
47
}
You can’t perform that action at this time.
0 commit comments