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';
33import MetaBind from './metaBindLanguage.js' ;
44import CustomMD from './customMD.js' ;
55import starlightLinksValidator from 'starlight-links-validator' ;
6+ import starlightSiteGraph from 'starlight-site-graph' ;
67import { bundledLanguages } from 'shiki' ;
78import starlightTypeDoc , { typeDocSidebarGroup } from 'starlight-typedoc' ;
89
@@ -93,6 +94,18 @@ export default defineConfig({
9394 collapsed : false ,
9495 } ,
9596 } ) ,
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+ } ) ,
96109 ] ,
97110 } ) ,
98111 ] ,
Original file line number Diff line number Diff line change 1414 "@astrojs/starlight" : " 0.26.1" ,
1515 "astro" : " 4.14.2" ,
1616 "starlight-links-validator" : " ^0.9.1" ,
17+ "starlight-site-graph" : " 0.0.13" ,
1718 "starlight-typedoc" : " ^0.14.0" ,
18- "typedoc" : " ^0.26.5 " ,
19+ "typedoc" : " ^0.26.6 " ,
1920 "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"
2123 },
2224 "devDependencies" : {
2325 "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.
2020### Examples
2121
2222``` meta-bind
23- VIEW[Movie Title: {moveTitle}]
23+ VIEW[Movie Title: {moveTitle}][text]
2424```
Original file line number Diff line number Diff line change 11{
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+ }
312}
You can’t perform that action at this time.
0 commit comments