mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 09:33:50 +01:00
doc/starlight: add image zoom & update dependencies
This commit is contained in:
parent
0b436d8898
commit
744668da35
@ -2,6 +2,7 @@
|
|||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
import starlight from "@astrojs/starlight";
|
import starlight from "@astrojs/starlight";
|
||||||
import rehypeGithubEmoji from "rehype-github-emoji";
|
import rehypeGithubEmoji from "rehype-github-emoji";
|
||||||
|
import starlightImageZoom from "starlight-image-zoom";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
@ -175,7 +176,7 @@ export default defineConfig({
|
|||||||
src: "./src/assets/riot-logo.svg",
|
src: "./src/assets/riot-logo.svg",
|
||||||
replacesTitle: true,
|
replacesTitle: true,
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [starlightImageZoom()],
|
||||||
editLink: {
|
editLink: {
|
||||||
baseUrl: "https://github.com/RIOT-OS/RIOT/tree/master/doc/guides",
|
baseUrl: "https://github.com/RIOT-OS/RIOT/tree/master/doc/guides",
|
||||||
},
|
},
|
||||||
|
|||||||
1826
doc/starlight/package-lock.json
generated
1826
doc/starlight/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@
|
|||||||
"@astrojs/starlight": "^0.36.0",
|
"@astrojs/starlight": "^0.36.0",
|
||||||
"astro": "^5.14.0",
|
"astro": "^5.14.0",
|
||||||
"rehype-github-emoji": "^1.0.0",
|
"rehype-github-emoji": "^1.0.0",
|
||||||
"sharp": "^0.34.0"
|
"sharp": "^0.34.0",
|
||||||
|
"starlight-image-zoom": "^0.13.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user