Skip to content

Commit 6bcf7c7

Browse files
huijingmkurapov
andauthored
feat: add starlight-fullview-mode plugin (#3431)
* feat: add starlight-fullview-mode plugin * downgrade graphql to previous version of 16.10.0 --------- Co-authored-by: Max Kurapov <max@interledger.org>
1 parent 7d8079f commit 6bcf7c7

3 files changed

Lines changed: 392 additions & 208 deletions

File tree

packages/documentation/astro.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import remarkMath from 'remark-math'
55
import rehypeMathjax from 'rehype-mathjax'
66
import GraphQL from 'astro-graphql-plugin'
77
import starlightLinksValidator from 'starlight-links-validator'
8+
import starlightFullViewMode from 'starlight-fullview-mode'
89
import { rehypeHeadingIds } from '@astrojs/markdown-remark'
910
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
1011

@@ -315,7 +316,8 @@ export default defineConfig({
315316
plugins: [
316317
starlightLinksValidator({
317318
errorOnLocalLinks: false
318-
})
319+
}),
320+
starlightFullViewMode()
319321
]
320322
}),
321323
GraphQL({

packages/documentation/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
},
1111
"dependencies": {
1212
"@astrojs/markdown-remark": "^6.3.1",
13-
"@astrojs/starlight": "^0.33.0",
14-
"@interledger/docs-design-system": "^0.6.2",
15-
"astro": "5.6.1",
13+
"@astrojs/starlight": "^0.34.3",
14+
"@interledger/docs-design-system": "^0.7.1",
15+
"astro": "5.7.13",
1616
"astro-graphql-plugin": "^0.4.2",
1717
"graphql": "16.11.0",
1818
"mermaid": "^11.6.0",
1919
"rehype-autolink-headings": "^7.1.0",
2020
"rehype-mathjax": "^7.1.0",
2121
"remark-math": "^6.0.0",
22-
"starlight-links-validator": "^0.15.1"
22+
"starlight-fullview-mode": "^0.2.3",
23+
"starlight-links-validator": "^0.16.0"
2324
}
2425
}

0 commit comments

Comments
 (0)