Skip to content

Commit c41d9a7

Browse files
authored
Merge pull request #81 from rescript-lang/dependabot/npm_and_yarn/astrojs/starlight-0.33.1
Bump @astrojs/starlight from 0.32.6 to 0.33.1
2 parents c395623 + da4076c commit c41d9a7

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

Diff for: astro.config.mjs

+14-10
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ const rescriptTM = JSON.parse(
77
readFileSync("./docs/assets/rescript.tmLanguage.json", "utf-8"),
88
);
99

10-
const apiSidebarItems = apiModules.map(({ moduleName, link, items }) => {
10+
const apiSidebarItems = apiModules.map(({ moduleName, link, items }) => {
1111
const nestedItems = Object.values(items).map(({ moduleName, link }) => ({
1212
label: moduleName,
13-
link
13+
link,
1414
}));
1515

16-
return ({
16+
return {
1717
label: moduleName,
1818
collapsed: true,
1919
items: [
2020
{
2121
label: `Overview`,
22-
link
22+
link,
2323
},
24-
...nestedItems
25-
]
26-
});
24+
...nestedItems,
25+
],
26+
};
2727
});
2828

2929
export default defineConfig({
@@ -37,9 +37,13 @@ export default defineConfig({
3737
logo: {
3838
src: "./docs/assets/rescript-logo.svg",
3939
},
40-
social: {
41-
github: "https://github.com/rescript-lang/experimental-rescript-webapi",
42-
},
40+
social: [
41+
{
42+
icon: "github",
43+
label: "GitHub",
44+
href: "https://github.com/rescript-lang/experimental-rescript-webapi",
45+
},
46+
],
4347
editLink: {
4448
baseUrl:
4549
"https://github.com/rescript-lang/experimental-rescript-webapi/edit/main/",

Diff for: package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"rescript": "^12.0.0-alpha.9"
3939
},
4040
"devDependencies": {
41-
"@astrojs/starlight": "0.32.6",
41+
"@astrojs/starlight": "0.33.1",
4242
"astro": "^5.1.1",
4343
"micromark": "^4.0.1",
4444
"prettier": "^3.3.3",

0 commit comments

Comments
 (0)