1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-14 17:13:50 +01:00

doc/starlight: add image zoom & update dependencies

This commit is contained in:
AnnsAnn 2025-10-06 11:46:15 +02:00
parent 0b436d8898
commit 744668da35
3 changed files with 535 additions and 1297 deletions

View File

@ -2,6 +2,7 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import rehypeGithubEmoji from "rehype-github-emoji";
import starlightImageZoom from "starlight-image-zoom";
// https://astro.build/config
export default defineConfig({
@ -175,7 +176,7 @@ export default defineConfig({
src: "./src/assets/riot-logo.svg",
replacesTitle: true,
},
plugins: [],
plugins: [starlightImageZoom()],
editLink: {
baseUrl: "https://github.com/RIOT-OS/RIOT/tree/master/doc/guides",
},

File diff suppressed because it is too large Load Diff

View File

@ -14,6 +14,7 @@
"@astrojs/starlight": "^0.36.0",
"astro": "^5.14.0",
"rehype-github-emoji": "^1.0.0",
"sharp": "^0.34.0"
"sharp": "^0.34.0",
"starlight-image-zoom": "^0.13.1"
}
}