Skip to content

Commit ea12692

Browse files
committed
install and implement starlight fullview mode plugin
1 parent 077ef7a commit ea12692

File tree

4 files changed

+4
-117
lines changed

4 files changed

+4
-117
lines changed

astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import starlight from "@astrojs/starlight";
33
import remarkMath from "remark-math";
44
import rehypeMathjax from "rehype-mathjax";
55
import starlightLinksValidator from "starlight-links-validator";
6+
import starlightFullViewMode from "starlight-fullview-mode";
67

78
// https://astro.build/config
89
export default defineConfig({
@@ -19,7 +20,7 @@ export default defineConfig({
1920
"./node_modules/@interledger/docs-design-system/src/styles/teal-theme.css",
2021
"./node_modules/@interledger/docs-design-system/src/styles/ilf-docs.css",
2122
],
22-
plugins: [starlightLinksValidator()],
23+
plugins: [starlightLinksValidator(), starlightFullViewMode()],
2324
expressiveCode: {
2425
styleOverrides: {
2526
borderColor: "transparent",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
"dependencies": {
1212
"@astrojs/starlight": "^0.34.3",
1313
"@interledger/docs-design-system": "^0.7.0",
14-
"astro": "^5.7.12",
14+
"astro": "^5.7.13",
1515
"rehype-mathjax": "^7.1.0",
1616
"remark-math": "^6.0.0",
1717
"sharp": "^0.34.1",
18+
"starlight-fullview-mode": "^0.2.3",
1819
"starlight-links-validator": "^0.16.0"
1920
}
2021
}

src/components/FullView.astro

Lines changed: 0 additions & 113 deletions
This file was deleted.

src/components/Header.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
import Search from "@astrojs/starlight/components/Search.astro";
33
import ThemeSelect from "@astrojs/starlight/components/ThemeSelect.astro";
44
import SocialIcons from "@astrojs/starlight/components/SocialIcons.astro";
5-
import FullView from "./FullView.astro";
65
import InterledgerLogo from "./InterledgerLogo.astro";
76
---
87
<div class="header sl-flex">
98
<a href="/" class="site-logo">
109
<InterledgerLogo />
1110
</a>
1211
<div class="secondary-wrap">
13-
<FullView />
1412
<Search />
1513
<SocialIcons />
1614
<div class="sl-hidden md:sl-flex">

0 commit comments

Comments
 (0)