From 5be72182ab7cb552ea8a66a7d6d59e4fd1604bf3 Mon Sep 17 00:00:00 2001 From: Chen Hui Jing <1461498+huijing@users.noreply.github.com> Date: Wed, 14 May 2025 20:05:08 +0800 Subject: [PATCH] feat: add starlight-fullview-mode plugin --- astro.config.mjs | 3 ++- package.json | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index b097c0e..f6100d7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,6 +1,7 @@ import { defineConfig } from "astro/config"; import starlight from "@astrojs/starlight"; import starlightLinksValidator from "starlight-links-validator"; +import starlightFullViewMode from "starlight-fullview-mode"; // https://astro.build/config export default defineConfig({ @@ -25,7 +26,7 @@ export default defineConfig({ "./node_modules/@interledger/docs-design-system/src/styles/teal-theme.css", "./node_modules/@interledger/docs-design-system/src/styles/ilf-docs.css", ], - plugins: [starlightLinksValidator()], + plugins: [starlightLinksValidator(), starlightFullViewMode()], components: { Header: "./src/components/Header.astro", PageSidebar: "./src/components/PageSidebar.astro", diff --git a/package.json b/package.json index b61ca7a..e96b18e 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,11 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.33.0", - "@interledger/docs-design-system": "^0.6.2", - "astro": "^5.6.1", + "@astrojs/starlight": "^0.34.3", + "@interledger/docs-design-system": "^0.7.1", + "astro": "^5.7.13", "sharp": "^0.34.1", - "starlight-links-validator": "^0.15.0" + "starlight-fullview-mode": "^0.2.3", + "starlight-links-validator": "^0.16.0" } }