Skip to content

Commit 2196411

Browse files
Merge pull request #18 from slipstream8125/main
Updated Starlight version and resolved some components to deal with the resulting breaking changes
2 parents 63833c2 + 151df88 commit 2196411

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

astro.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export default defineConfig({
1616
? ["./src/styles/_global.css"]
1717
: ["./src/styles/landing.css", "./src/styles/_global.css"],
1818
// customCss: [ '@fontsource-variable/jetbrains-mono/400.css', '@fontsource-variable/jetbrains-mono/600.css' ],
19-
social: {
20-
github: "https://github.com/StratOS-Linux/StratOS-iso",
21-
discord: "https://discord.gg/DVaXRCnCet",
22-
mastodon: "https://fosstodon.org/@StratOS",
23-
"x.com": "https://twitter.com/StratOS_Linux",
24-
},
19+
social: [
20+
{ icon:'github', label:"GitHub", href:"https://github.com/StratOS-Linux"},
21+
{ icon:'discord' ,label: "Discord", href: "https://discord.gg/DVaXRCnCet"},
22+
{ icon:'mastodon' ,label: "Mastodon" , href: "https://fosstodon.org/@StratOS"},
23+
{ icon:'x.com', label:"X (Formerly known as Twitter)", href: "https://twitter.com/StratOS_Linux"},
24+
],
2525
sidebar: [
2626
// {
2727
// label: 'Guides',

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/starlight": "^0.21.5",
13+
"@astrojs/starlight": "^0.34.5",
1414
"@fontsource-variable/jetbrains-mono": "^5.0.21",
1515
"@fontsource/jetbrains-mono": "^5.0.20",
16-
"astro": "^4.3.5",
16+
"@octokit/rest": "^22.0.0",
17+
"astro": "^5.11.0",
1718
"sharp": "^0.32.5",
1819
"starlight-image-zoom": "^0.2.0"
1920
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineCollection } from 'astro:content';
22
import { docsSchema } from '@astrojs/starlight/schema';
3+
import { docsLoader } from "@astrojs/starlight/loaders";
34

45
export const collections = {
5-
docs: defineCollection({ schema: docsSchema() }),
6+
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
67
};

src/content/docs/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ hero:
1313
variant: primary
1414
- text: Download
1515
icon: external
16+
variant: minimal
1617
link: /intro/downloadiso
1718
---
File renamed without changes.

src/content/docs/tools/rock.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)