summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--.vscode/extensions.json4
-rw-r--r--.vscode/launch.json11
-rw-r--r--README.md50
-rw-r--r--astro.config.mjs51
-rw-r--r--package.json4
-rw-r--r--src/content/docs/en/meetup-2-guide.mdx133
-rw-r--r--src/content/docs/guides/example.md11
-rw-r--r--src/content/docs/meetup-2-guide.mdx98
-rw-r--r--src/content/docs/reference/example.md11
-rw-r--r--yarn.lock41
11 files changed, 327 insertions, 94 deletions
diff --git a/.gitignore b/.gitignore
index 9048658..96bfcda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
# build output
dist/
+
# generated types
.astro/
@@ -12,7 +13,6 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
-
# environment variables
.env
.env.production
@@ -20,6 +20,11 @@ pnpm-debug.log*
# macOS-specific files
.DS_Store
+# Editor files
+.vs
+.vscode
+.idea
+
# Yarn v2
.yarn/*
!.yarn/cache
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index 22a1505..0000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "recommendations": ["astro-build.astro-vscode"],
- "unwantedRecommendations": []
-}
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index d642209..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "version": "0.2.0",
- "configurations": [
- {
- "command": "./node_modules/.bin/astro dev",
- "name": "Development server",
- "request": "launch",
- "type": "node-terminal"
- }
- ]
-}
diff --git a/README.md b/README.md
index 8a6d7e7..1322588 100644
--- a/README.md
+++ b/README.md
@@ -1,37 +1,25 @@
-# Starlight Starter Kit: Basics
+# Nix CN Web
-[![Built with Starlight](https://astro.badg.es/v2/built-with-starlight/tiny.svg)](https://starlight.astro.build)
+## Contribution
-```
-yarn create astro@latest -- --template starlight
-```
+1. **Root docs serve the zh-CN version** *[MUST]*
+2. **Use sign-off via `git commit -s`** *[MUST]*
+3. **Do not modify the `main` branch for any reason** *[MUST]*
+4. **Do not omit the commit subject for any reason** *[MUST]*
+5. **Describe all changes in the commit message** *[MUST]*
+6. **Rebase before submitting patches** *[MUST]*
+7. **Split commits for large or multi-part changes** *[OPTION]*
+8. **Use OpenPGP/SSH for commit signing** *[OPTION]*
+9. **Have fun contributing :)** *[VERY NECESSARY]*
-> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
+## Toolchain
-## 🚀 Project Structure
+- Zed Editor
+- Node 22
+- Yarn v2
+- Cloudflare
-Inside of your Astro + Starlight project, you'll see the following folders and files:
-
-```
-.
-├── public/
-├── src/
-│ ├── assets/
-│ ├── content/
-│ │ └── docs/
-│ └── content.config.ts
-├── astro.config.mjs
-├── package.json
-└── tsconfig.json
-```
-
-Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.
-
-Images can be added to `src/assets/` and embedded in Markdown with a relative link.
-
-Static assets, like favicons, can be placed in the `public/` directory.
-
-## 🧞 Commands
+## Commands
All commands are run from the root of the project, from a terminal:
@@ -43,7 +31,3 @@ All commands are run from the root of the project, from a terminal:
| `yarn preview` | Preview your build locally, before deploying |
| `yarn astro ...` | Run CLI commands like `astro add`, `astro check` |
| `yarn astro -- --help` | Get help using the Astro CLI |
-
-## 👀 Want to learn more?
-
-Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).
diff --git a/astro.config.mjs b/astro.config.mjs
index 9a25601..9897629 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,26 +1,35 @@
// @ts-check
-import { defineConfig } from 'astro/config';
-import starlight from '@astrojs/starlight';
+import { defineConfig } from "astro/config";
+import starlight from "@astrojs/starlight";
+import starlightThemeGalaxy from "starlight-theme-galaxy";
+
+import mdx from "@astrojs/mdx";
// https://astro.build/config
export default defineConfig({
- integrations: [
- starlight({
- title: 'My Docs',
- social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
- sidebar: [
- {
- label: 'Guides',
- items: [
- // Each item here is one entry in the navigation menu.
- { label: 'Example Guide', slug: 'guides/example' },
- ],
- },
- {
- label: 'Reference',
- autogenerate: { directory: 'reference' },
- },
- ],
- }),
- ],
+ integrations: [
+ starlight({
+ title: "NixCN",
+ defaultLocale: "root",
+ locales: {
+ root: {
+ label: "简体中文",
+ lang: "zh-CN",
+ },
+ en: {
+ label: "English",
+ },
+ },
+ social: [
+ {
+ icon: "github",
+ label: "GitHub",
+ href: "https://github.com/withastro/starlight",
+ },
+ ],
+ sidebar: [],
+ plugins: [starlightThemeGalaxy()],
+ }),
+ mdx(),
+ ],
});
diff --git a/package.json b/package.json
index ce6d776..6d4ae15 100644
--- a/package.json
+++ b/package.json
@@ -10,9 +10,11 @@
"astro": "astro"
},
"dependencies": {
+ "@astrojs/mdx": "^4.3.12",
"@astrojs/starlight": "^0.37.0",
"astro": "^5.6.1",
- "sharp": "^0.34.2"
+ "sharp": "^0.34.2",
+ "starlight-theme-galaxy": "^0.5.2"
},
"packageManager": "yarn@4.12.0"
}
diff --git a/src/content/docs/en/meetup-2-guide.mdx b/src/content/docs/en/meetup-2-guide.mdx
new file mode 100644
index 0000000..b9a7902
--- /dev/null
+++ b/src/content/docs/en/meetup-2-guide.mdx
@@ -0,0 +1,133 @@
+---
+title: 'Nix/NixOS CN Meetup #2 Guide'
+description: 'Nix/NixOS CN Meetup #2 is the second Nix-themed meetup in China. We aim to bring together NixOS enthusiasts, developers, and practitioners to share usage experiences, best practices, and real-world applications of NixOS.'
+---
+
+import { Aside } from '@astrojs/starlight/components';
+
+<Aside type="caution">Translated by ChatGPT, not proofread.</Aside>
+
+Nix/NixOS CN Meetup #2 is the second Nix-themed gathering in China. We aim to bring together NixOS enthusiasts, developers, and practitioners to share their experiences, best practices, and use cases of NixOS in various scenarios.
+
+## Event Information
+
+- **Date (UTC+8):** 2025/12/27 (Sat.) ~ 2025/12/28 (Sun.)
+- **Venue:** Dong Xiayuan Building, Shanghai Jiao Tong University, Minhang Campus
+ (800 Dongchuan Road, Minhang District, Shanghai)
+
+## Transportation Information
+
+### Arriving in Shanghai
+
+You can reach Shanghai by air or rail. The city has **two major airports**—**Shanghai Pudong International Airport (PVG)** and **Shanghai Hongqiao International Airport (SHA)**—and several railway stations, including **Shanghai Hongqiao Station**, **Shanghai Railway Station**, **Shanghai South Station**, and **Shanghai Songjiang Station**.
+(Some suburban stations such as Jinshan North or Nanxiang North may appear as “same-city stations” on 12306. Please select major stations to avoid booking the wrong ticket.)
+
+Since the **Minhang Campus of Shanghai Jiao Tong University** is far from most transportation hubs, please pay attention to **first/last train times** and allow sufficient transfer time.
+
+---
+
+### Shanghai Pudong International Airport (PVG)
+
+**Shanghai Pudong International Airport (PVG)** is one of the main airports serving domestic and international flights. It has Terminals T1, T2 and satellite terminals connected by the Pudong Airport APM. The airport is large and crowded—**reserve extra time**.
+
+Metro Line 2, Maglev, and the Airport Link Line stop at **Pudong Airport Terminal 1 & 2** Station.
+
+From **Pudong Airport Terminal 1 & 2**, you may reach the venue using the following route:
+
+- **Airport Link Line → Metro Line 15**
+ - Fare: **21 CNY**.
+ Last Airport Link Line train departs at **22:00**.
+ - Take the Airport Link Line toward **Hongqiao Terminal 2**, get off at **Jinghong Road** Station, and transfer to Line 15 (transfer passage ~800 m).
+ - Take **Line 15** to **Zizhu High-tech Park** Station (some trains short-turn at Shuangbai Road; transfer if needed).
+ - Exit **Exit 6**, walk west along **Dongchuan Road** (~500 m) to **SJTU Minhang Campus South Gate**.
+ Alternatively, exit **Exit 7**, walk north along **Lianhua South Road** (~50 m) to **East Gate 3** of the campus.
+
+---
+
+### Shanghai Hongqiao Transportation Hub (Airport / Railway)
+
+The **Hongqiao Hub** includes **Shanghai Hongqiao Station** and **Shanghai Hongqiao International Airport** (T1 and T2). Shanghai Hongqiao Station serves major high-speed railways such as Beijing–Shanghai HSR, Shanghai–Kunming HSR, and more.
+
+Metro Lines 2, 10, and 17 serve **Hongqiao Railway Station** (west side), and Lines 2, 10, and the Airport Link Line serve **Hongqiao Terminal 2 Station** (east side).
+
+From **Hongqiao Terminal 2** or **Hongqiao Railway Station**, the recommended routes are:
+
+- **Airport Link Line → Line 15**
+ - Fare: **9 CNY**.
+ Airport Link Line frequency: ~15 min; last train **22:00**.
+ - Take the Airport Link Line toward **Pudong Airport**, get off at **Jinghong Road**, transfer to Line 15 (transfer passage ~800 m).
+ - Take Line 15 to **Zizhu High-tech Park** Station.
+ - Exit **Exit 6** → walk west along **Dongchuan Road** (~500 m) to **South Gate**.
+ Or exit **Exit 7** → walk north along **Lianhua South Road** (~50 m) to **East Gate 3**.
+
+- **Bus Minhong Line 2**
+ - Fare: **13 CNY**.
+ Frequency: 15–20 min (subject to holiday adjustments).
+ - Tickets must be purchased through the “江南定制专线” WeChat public account (select **Minhong Line 2 (Down) – Hongqiao High-speed Railway Station → Dongchuan Road Transit Hub**) or buy remaining tickets at boarding point.
+ - From **Dongchuan Road Transit Hub**, walk/ride east along **Dongchuan Road** (~1500 m) to **SJTU Minhang Campus (Siyuan Gate)**.
+
+---
+
+### Shanghai Railway Station
+
+**Shanghai Railway Station** serves high-speed and conventional lines including Beijing–Shanghai HSR, Shanghai–Nanjing Intercity, and more.
+Served by Metro Lines 1, 3, and 4 at **Shanghai Railway Station**.
+
+Recommended route:
+
+- **Line 1 → Line 5**
+ - Fare: **6 CNY**.
+ - Take Line 1 to **Xinzhuang** Station, transfer to Line 5 (transfer passage ~100 m).
+ - Take Line 5 to **Jianchuan Road** Station.
+ - Exit **Exit 1/2**, walk/ride west along **Jianchuan Road** (~1000 m) to **SJTU Minhang Campus North Gate 1**.
+
+---
+
+### Shanghai South Railway Station
+
+**Shanghai South Station** handles both HSR and conventional lines.
+Served by Metro Lines 1, 3, and 15.
+
+Recommended route:
+
+- **Line 15**
+ - Fare: **5 CNY**.
+ - Take Line 15 to **Zizhu High-tech Park** Station.
+ - Exit 6 → walk west along **Dongchuan Road** (~500 m) to **South Gate**.
+ Or exit 7 → walk north to **East Gate 3** (~50 m).
+
+---
+
+### Shanghai Songjiang Station (Conventional Rail)
+
+**Shanghai Songjiang Station** is a mid-route station on Shanghai–Kunming Railway, Shanghai–Kunming HSR, and Shanghai–Suzhou–Huzhou HSR.
+
+If traveling by high-speed rail, **we do not recommend** choosing Songjiang Station. Please purchase tickets to **Shanghai South Station** or **Shanghai Hongqiao Station** instead.
+
+There is currently **no convenient public transport** between SJTU Minhang Campus and Songjiang Station.
+Estimated taxi/ride-hailing fare: **50–60 CNY**.
+
+---
+
+### Arriving at the Venue
+
+Venue: **Dong Shangyuan (East Upper Yard) Teaching Building** (exact room TBA).
+Location: Southeast area of the campus, near South Gate 2 (closed).
+Distances:
+- ~1200 m from **Siyuan Gate / South Gate**
+- ~1600 m from **North Gate 1 / East Gate 3**
+
+---
+
+## Accommodation
+
+- **Shanghai Royal Century Hotel (Dalinghuowan International Convention Center)**
+ - Reference price: **~400 CNY / night** (standard twin room).
+ - Location: Northwest of the campus, ~800 m from North Gate 1.
+ - Personal notes: Very spacious rooms, good facilities; interior style is old-fashioned and overly luxurious; restaurant quality is poor—dining at **Longhu Paradise Walk** nearby is recommended.
+
+- **Huazhu Group Hotels (Ji Hotel, Hanting, etc.)**
+ - Reference price: **~300 CNY / night** (twin room).
+ - Location: Southwest / northeast of the campus; all relatively far (1000+ m).
+ - Personal notes: Among Huazhu brands, **Ji Hotel (Dongchuan Road)** is the recommended option.
+ Nearby Hanting branches are not recommended and offer no price advantage.
diff --git a/src/content/docs/guides/example.md b/src/content/docs/guides/example.md
deleted file mode 100644
index ebd0f3b..0000000
--- a/src/content/docs/guides/example.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: Example Guide
-description: A guide in my new Starlight docs site.
----
-
-Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
-Writing a good guide requires thinking about what your users are trying to do.
-
-## Further reading
-
-- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework
diff --git a/src/content/docs/meetup-2-guide.mdx b/src/content/docs/meetup-2-guide.mdx
new file mode 100644
index 0000000..2853d68
--- /dev/null
+++ b/src/content/docs/meetup-2-guide.mdx
@@ -0,0 +1,98 @@
+---
+title: 'Nix/NixOS CN Meetup #2 参会指南'
+description: 'Nix/NixOS CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 NixOS 爱好者、开发者和实践者,共同分享 NixOS 的使用经验、最佳实践以及在不同场景下的应用案例。'
+---
+
+Nix/NixOS CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 NixOS 爱好者、开发者和实践者,共同分享 NixOS 的使用经验、最佳实践以及在不同场景下的应用案例。
+
+## 会议信息
+
+- 日期(UTC +8):2025/12/27 (Sat.) ~ 2025/12/28 (Sun.)
+- 地点:上海交通大学闵行校区(上海市闵行区东川路800号)东下院
+
+## 交通信息
+
+### 抵达上海
+
+抵达上海可通过航空、铁路等方式。上海有 **浦东国际机场**、**虹桥国际机场** 两大机场,铁路车站包括 **上海虹桥站**、**上海站**、**上海南站**、**上海松江站** 等(如金山北站、南翔北站等站点可能在 12306 购票时同城车站看到,请选择邻近可到达的主要大型车站,不要买错车票)。由于从各大交通枢纽到达 **上海交通大学(闵行校区)** 路程较远,请注意**首末班车时间**和路程预计时间,提前预留充足的中途交通时间。
+
+#### 上海浦东国际机场(航空)
+
+**上海浦东国际机场(PVG)** 是上海接发国内及国际航班的主要机场之一,位于上海市浦东新区祝桥镇,有 T1 及 T2 两座航站楼及卫星厅,卫星厅通过浦东机场捷运联通。由于浦东国际机场内部较大、人流量较大,**请预留充足的时间**。T1 与 T2 连廊中部设轨道交通 2 号线、磁浮线、及市域铁路机场联络线 **浦东 1 号 2 号航站楼** 站。
+
+到达 **浦东 1 号 2 号航站楼** 站后,可以通过下列交通方式到达会场:
+
+- 市域铁机场联络线 - 轨道交通 15 号线:
+ - 票价 21 元。市域铁机场联络线末班车 22:00 发出,请注意乘车时间。
+ - 乘坐市域机场线到 **景洪路** 站(虹桥 2 号航站楼 方向),换乘 15 号线(换乘通道总长约 800 米);
+ - 乘坐 15 号线到 **紫竹高新区** 站(紫竹高新区 方向;部分列车开行小交路到达 双柏路 站,需换乘同向后续列车);
+ - 紫竹高新区站 6 号口出站,沿 **东川路** 向西步行约 500 米到达 **上海交通大学闵行校区(南大门)**;
+ - 或从 7 号口出站,沿 **莲花南路** 向北步行约 50 米到达 **上海交通大学闵行校区(东三门)**。
+
+#### 上海虹桥枢纽(航空/铁路)
+
+上海虹桥枢纽包括铁路**上海虹桥站**、**上海虹桥国际机场**,是上海最主要的大型综合性交通枢纽。上海虹桥站主要办理京沪高速铁路、沪昆高速铁路、沪宁城际铁路、沪苏湖高速铁路等高速铁路线的始发和终到。上海虹桥国际机场主要接发国内和国际航班,设 T1 和 T2 两个航站楼,国内航班主要使用 T2 航站楼,两航站楼之间通过轨道交通 10 号线联通。
+
+上海虹桥枢纽设轨道交通 2 号线、10 号线、17 号线 **虹桥火车站** 站(靠近上海虹桥站西侧),轨道交通 2 号线、10 号线、市域铁路机场联络线 **虹桥 2 号航站楼** 站(靠近虹桥机场 T2,上海虹桥站东侧),轨道交通 10 号线 **虹桥 1 号航站楼** 站(靠近虹桥机场 T1)。
+
+到达 虹桥 2 号航站楼 或 虹桥火车站 站后,推荐搭乘下列公共交通到达会场:
+
+- 市域铁机场联络线 - 15 号线
+ - 票价 9 元。市域铁机场联络线班次间隔 15 分钟,末班车 22:00 发出,请注意乘车时间。
+ - 乘坐市域机场线到 **景洪路** 站(浦东 1 号 2 号航站楼 方向),换乘 15 号线(换乘通道约 800 米);
+ - 乘坐 15 号线到 **紫竹高新区** 站(紫竹高新区 方向;部分列车开行小交路到达 双柏路 站,需换乘同向后续列车);
+ - 紫竹高新区站 6 号口出站,沿 **东川路** 向西步行约 500 米到达 **上海交通大学闵行校区(南大门)**;
+ - 或从 7 号口出站,沿 **莲花南路** 向北步行约 50 米到达 **上海交通大学闵行校区(东三门)**。
+
+- 公交闵虹 2 线
+ - 票价 13 元。闵虹 2 线班次间隔 15/20 分钟,节假日可能调整班次,请注意乘车时间。
+ - 须通过“江南定制专线”微信公众号线上售票,选择“闵虹 2 线(下行)- 虹桥高铁站 - 东川路枢纽站”,或在乘车点购买余票。
+ - 到达 **东川路枢纽站** 后,沿 **东川路** 向东步行/骑行约 1500 米到达 **上海交通大学闵行校区(思源门)**。
+
+#### 上海站(铁路)
+
+铁路上海站是上海最主要的铁路站点之一,主要办理沪宁城际铁路、京沪高速铁路、京沪铁路等高速铁路和普速铁路的始发终到。上海站设轨道交通 1 号线、3 号线、4 号线 **上海火车站** 站。
+
+到达 **上海火车站** 站后,可以通过下列方式交通到达会场:
+
+- 轨道交通 1 号线 - 5 号线
+ - 票价 6 元。
+ - 乘坐 1 号线到 **莘庄** 站(莘庄 方向),换乘 5 号线(换乘通道约 100 米);
+ - 乘坐 5 号线到 **剑川路** 站(奉贤新城/闵行开发区 方向);
+ - 剑川路站 1/2 号口出站,沿 **剑川路** 向西步行/骑行约 1000 米到达 **上海交通大学闵行校区(北一门)**。
+
+#### 上海南站(铁路)
+
+铁路上海南站是上海向南最主要的铁路站点,主要办理沪昆铁路、沪昆高速铁路、沪苏湖高速铁路等高速铁路与普速铁路的始发终到。上海南站设轨道交通 1 号线、3 号线、15 号线 **上海南站** 站。
+
+到达 **上海南站** 站后,推荐通过下列公共交通到达会场:
+
+- 轨道交通 15 号线:
+ - 票价 5 元。
+ - 乘坐 15 号线到 **紫竹高新区** 站(紫竹高新区 方向;部分列车开行小交路到达 双柏路 站,需换乘同向后续列车);
+ - 紫竹高新区站 6 号口出站,沿 **东川路** 向西步行约 500 米到达 **上海交通大学闵行校区(南大门)**;
+ - 或从 7 号口出站,沿 **莲花南路** 向北步行约 50 米到达 **上海交通大学闵行校区(东三门)**。
+
+#### 上海松江站(普速铁路)
+
+铁路上海松江站是沪昆铁路、沪昆高速铁路、沪苏湖高速铁路的中间站点,主要承担上海枢纽外迁普速列车的客运业务。上海松江站设轨道交通 9 号线 **上海松江站** 站。
+
+乘坐高铁、动车前往上海,建议**不要购买**前往上海松江站的车票,直接前往 **上海南站** 或 **上海虹桥站**。
+
+上海交通大学闵行校区 到 上海松江站 区间内暂无合适的公共交通路线,建议乘坐网约车抵达会场(约 50~60 元)。
+
+### 抵达会场
+
+会场地点:**东上院教学楼**(具体教室待定),位于校区东南侧,靠近南二门(不开放)。距离 思源门/南大门 约 1200 米,距离 北一门/东三门 约 1600 米。
+
+## 住宿信息
+
+- 上海白金汉爵大酒店(大零号湾国际会议中心店)
+ - 参考价格:标准双人间 400 元/天。
+ - 地理位置:位于校区西北方向,距离 北一门 约 800 米。
+ - 主观评价:客房空间极大,设施完善;装修风格老土奢华;餐饮水平差,建议就近到 龙湖天街 用餐。
+
+- 华住会旗下酒店(全季、汉庭等)
+ - 参考价格:双人间 300 元/天。
+ - 地理位置:位于校区西南/东北方向,距离校门均较远(超过 1000 米)。
+ - 主观评价:华住会全家桶中较为推荐全季(东川路),隔壁两家汉庭比较差且价格没有明显优势。
diff --git a/src/content/docs/reference/example.md b/src/content/docs/reference/example.md
deleted file mode 100644
index 0224f09..0000000
--- a/src/content/docs/reference/example.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: Example Reference
-description: A reference page in my new Starlight docs site.
----
-
-Reference pages are ideal for outlining how things work in terse and clear terms.
-Less concerned with telling a story or addressing a specific use case, they should give a comprehensive outline of what you're documenting.
-
-## Further reading
-
-- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
diff --git a/yarn.lock b/yarn.lock
index 914ab3f..ee9dd40 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -48,7 +48,7 @@ __metadata:
languageName: node
linkType: hard
-"@astrojs/mdx@npm:^4.2.3":
+"@astrojs/mdx@npm:^4.2.3, @astrojs/mdx@npm:^4.3.12":
version: 4.3.12
resolution: "@astrojs/mdx@npm:4.3.12"
dependencies:
@@ -419,6 +419,15 @@ __metadata:
languageName: node
linkType: hard
+"@expressive-code/plugin-line-numbers@npm:^0.41.3":
+ version: 0.41.3
+ resolution: "@expressive-code/plugin-line-numbers@npm:0.41.3"
+ dependencies:
+ "@expressive-code/core": "npm:^0.41.3"
+ checksum: 10c0/429eb7e0c9cf11e63223a2378b7e5d4e5a16492aa52cf9776e708102949e4d8b006b08b2a1624682655c90dc3ef6116b0673ffd91384d87bddf6598d1355efac
+ languageName: node
+ linkType: hard
+
"@expressive-code/plugin-shiki@npm:^0.41.3":
version: 0.41.3
resolution: "@expressive-code/plugin-shiki@npm:0.41.3"
@@ -438,6 +447,20 @@ __metadata:
languageName: node
linkType: hard
+"@fontsource-variable/inter@npm:^5.2.6":
+ version: 5.2.8
+ resolution: "@fontsource-variable/inter@npm:5.2.8"
+ checksum: 10c0/35b46df31c8c18f55f87228acf6297e4dac6cc9f38d0faaafdaf5a40e40c386cf1bfb115fb0fe0dcdb9b7e14f582843693ccf070d9c903072a5b2fc0f8dfde56
+ languageName: node
+ linkType: hard
+
+"@fontsource-variable/jetbrains-mono@npm:^5.2.6":
+ version: 5.2.8
+ resolution: "@fontsource-variable/jetbrains-mono@npm:5.2.8"
+ checksum: 10c0/574e5463b802cfdd6ec8dd16724d2fd5ee38204815729c9dca0f457a417f0a4d32e6ec4ed2dfa0e5a5de5a9b0deaeb9f3c0b49b332763ed40172de43d6b1502f
+ languageName: node
+ linkType: hard
+
"@img/colour@npm:^1.0.0":
version: 1.0.0
resolution: "@img/colour@npm:1.0.0"
@@ -3660,9 +3683,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "nixcn-web@workspace:."
dependencies:
+ "@astrojs/mdx": "npm:^4.3.12"
"@astrojs/starlight": "npm:^0.37.0"
astro: "npm:^5.6.1"
sharp: "npm:^0.34.2"
+ starlight-theme-galaxy: "npm:^0.5.2"
languageName: unknown
linkType: soft
@@ -4594,6 +4619,20 @@ __metadata:
languageName: node
linkType: hard
+"starlight-theme-galaxy@npm:^0.5.2":
+ version: 0.5.2
+ resolution: "starlight-theme-galaxy@npm:0.5.2"
+ dependencies:
+ "@expressive-code/core": "npm:^0.41.3"
+ "@expressive-code/plugin-line-numbers": "npm:^0.41.3"
+ "@fontsource-variable/inter": "npm:^5.2.6"
+ "@fontsource-variable/jetbrains-mono": "npm:^5.2.6"
+ peerDependencies:
+ "@astrojs/starlight": ">=0.34"
+ checksum: 10c0/fad81194ffa1bbb816919df8378ae97e2d4015c1ca1b901eac2ad00cb5f3d965578ba438adba962666b9925cd1f0a9cb3394188ba0e164a37d6f4bc89f1e5f39
+ languageName: node
+ linkType: hard
+
"stream-replace-string@npm:^2.0.0":
version: 2.0.0
resolution: "stream-replace-string@npm:2.0.0"