File tree Expand file tree Collapse file tree 5 files changed +28
-4
lines changed
src/content/docs/reference/viewFields Expand file tree Collapse file tree 5 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import starlight from '@astrojs/starlight';
3
3
import MetaBind from './metaBindLanguage.js' ;
4
4
import CustomMD from './customMD.js' ;
5
5
import starlightLinksValidator from 'starlight-links-validator' ;
6
+ import starlightSiteGraph from 'starlight-site-graph' ;
6
7
import { bundledLanguages } from 'shiki' ;
7
8
import starlightTypeDoc , { typeDocSidebarGroup } from 'starlight-typedoc' ;
8
9
@@ -93,6 +94,18 @@ export default defineConfig({
93
94
collapsed : false ,
94
95
} ,
95
96
} ) ,
97
+ starlightSiteGraph ( {
98
+ graphConfig : {
99
+ depth : 5 ,
100
+ trackVisitedPages : false ,
101
+ } ,
102
+ storageLocation : 'none' ,
103
+ contentRoot : './src/content/docs' ,
104
+ include_sitemap : [ './api/*/**/*.md' ] ,
105
+ exclude_sitemap : [ '**' ] ,
106
+ show_graph : [ 'api/**' ] ,
107
+ hide_graph : [ '**' , '' ] ,
108
+ } ) ,
96
109
] ,
97
110
} ) ,
98
111
] ,
Original file line number Diff line number Diff line change 14
14
"@astrojs/starlight" : " 0.26.1" ,
15
15
"astro" : " 4.14.2" ,
16
16
"starlight-links-validator" : " ^0.9.1" ,
17
+ "starlight-site-graph" : " 0.0.13" ,
17
18
"starlight-typedoc" : " ^0.14.0" ,
18
- "typedoc" : " ^0.26.5 " ,
19
+ "typedoc" : " ^0.26.6 " ,
19
20
"typedoc-plugin-markdown" : " ^4.2.5" ,
20
- "typedoc-plugin-mdn-links" : " ^3.2.8"
21
+ "typedoc-plugin-mdn-links" : " ^3.2.9" ,
22
+ "typescript" : " ^5.5.4"
21
23
},
22
24
"devDependencies" : {
23
25
"prettier" : " ^3.3.3" ,
Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ A text view field displays its content as plain text.
20
20
### Examples
21
21
22
22
``` meta-bind
23
- VIEW[Movie Title: {moveTitle}]
23
+ VIEW[Movie Title: {moveTitle}][text]
24
24
```
Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " astro/tsconfigs/strict"
2
+ "extends" : " astro/tsconfigs/strict" ,
3
+ "compilerOptions" : {
4
+ "skipLibCheck" : true ,
5
+ "module" : " ESNext" ,
6
+ "target" : " ESNext" ,
7
+ "moduleResolution" : " Bundler" ,
8
+ "allowSyntheticDefaultImports" : true ,
9
+ "esModuleInterop" : true ,
10
+ "verbatimModuleSyntax" : true
11
+ }
3
12
}
You can’t perform that action at this time.
0 commit comments