aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDania Rifki <atomicnumberphi@gmail.com>2026-02-21 21:55:41 +0800
committerLi Jin <dragon-fly@qq.com>2026-02-21 21:58:21 +0800
commit5368d22d4bbb36682766688a7387622953a0069c (patch)
tree29f0005b45ff7307bab424ff1e57ce486bdfc67f
parent83c3e1ccde72d133524c86b707ed11d75c427304 (diff)
downloadyuescript-5368d22d4bbb36682766688a7387622953a0069c.tar.gz
yuescript-5368d22d4bbb36682766688a7387622953a0069c.tar.bz2
yuescript-5368d22d4bbb36682766688a7387622953a0069c.zip
format with prettier
-rw-r--r--doc/docs/.vitepress/config.mts5
-rw-r--r--doc/docs/.vitepress/theme/components/prism-manual.js1
-rw-r--r--doc/docs/.vitepress/theme/custom.css2
3 files changed, 5 insertions, 3 deletions
diff --git a/doc/docs/.vitepress/config.mts b/doc/docs/.vitepress/config.mts
index 01a0854..d5d8ef9 100644
--- a/doc/docs/.vitepress/config.mts
+++ b/doc/docs/.vitepress/config.mts
@@ -456,7 +456,10 @@ export default defineConfig({
456 }, 456 },
457 ], 457 ],
458 ["meta", { property: "og:type", content: "website" }], 458 ["meta", { property: "og:type", content: "website" }],
459 ["meta", { property: "og:image", content: withBase("/image/yuescript.png") }], 459 [
460 "meta",
461 { property: "og:image", content: withBase("/image/yuescript.png") },
462 ],
460 [ 463 [
461 "meta", 464 "meta",
462 { 465 {
diff --git a/doc/docs/.vitepress/theme/components/prism-manual.js b/doc/docs/.vitepress/theme/components/prism-manual.js
index 8f73abd..076dcf3 100644
--- a/doc/docs/.vitepress/theme/components/prism-manual.js
+++ b/doc/docs/.vitepress/theme/components/prism-manual.js
@@ -4,4 +4,3 @@ if (typeof window !== "undefined") {
4 window.Prism = window.Prism || {}; 4 window.Prism = window.Prism || {};
5 window.Prism.manual = true; 5 window.Prism.manual = true;
6} 6}
7
diff --git a/doc/docs/.vitepress/theme/custom.css b/doc/docs/.vitepress/theme/custom.css
index a4ae4d3..7e3a04b 100644
--- a/doc/docs/.vitepress/theme/custom.css
+++ b/doc/docs/.vitepress/theme/custom.css
@@ -241,4 +241,4 @@ h6,
241/* Slight adjustment to code block background to fit the midnight theme */ 241/* Slight adjustment to code block background to fit the midnight theme */
242.dark .vp-code-group .tabs label { 242.dark .vp-code-group .tabs label {
243 background-color: #1a1f2e; 243 background-color: #1a1f2e;
244} \ No newline at end of file 244}