Skip to content

Commit b194e21

Browse files
committed
Upgrade Astro docs dependencies
1 parent 73f5d63 commit b194e21

6 files changed

Lines changed: 199 additions & 140 deletions

File tree

bun.lock

Lines changed: 184 additions & 128 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kittynode-docs/astro.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ import starlightLlmsTxt from "starlight-llms-txt";
77

88
// https://astro.build/config
99
export default defineConfig({
10-
redirects: {
11-
"/": "/start-here/getting-started",
12-
},
1310
adapter: cloudflare({
14-
imageService: "compile",
11+
imageService: "passthrough",
1512
prerenderEnvironment: "node",
1613
}),
1714
site: "https://docs.kittynode.com",

kittynode-docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
},
1414
"dependencies": {
1515
"@astrojs/check": "^0.9.8",
16-
"@astrojs/cloudflare": "^13.1.8",
17-
"@astrojs/starlight": "^0.38.3",
16+
"@astrojs/cloudflare": "^13.7.0",
17+
"@astrojs/starlight": "^0.38.5",
1818
"@fontsource-variable/literata": "^5.2.8",
19-
"astro": "^6.1.5",
19+
"astro": "~6.3.0",
2020
"sharp": "^0.34.5",
2121
"starlight-image-zoom": "^0.14.1",
2222
"starlight-links-validator": "^0.23.0",
2323
"starlight-llms-txt": "^0.8.0",
2424
"typescript": "^6.0.2",
25-
"vite": "^7.3.2"
25+
"vite": "^7.3.6"
2626
},
2727
"devDependencies": {
2828
"wrangler": "^4.81.1"
33.1 KB
Loading

kittynode-docs/src/components/overrides/SiteTitle.astro

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
---
2-
import { Image } from "astro:assets";
3-
import appLogo from "../../assets/kittynode-logo-app.png";
4-
52
const main = "https://kittynode.com/";
63
const self = "/start-here/getting-started";
74
---
85

96
<span class="site-title sl-flex">
107
<a class="wordmark" href={main} aria-label="Kittynode">
11-
<Image src={appLogo} alt="" class="app-logo" loading="eager" />
8+
<img
9+
src="/images/kittynode-logo-app.png"
10+
alt=""
11+
class="app-logo"
12+
width="160"
13+
height="160"
14+
/>
1215
<span class="wordmark-text">Kittynode</span>
1316
</a>
1417
<a class="docs-text" href={self} aria-label="Docs">Docs</a>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
return Astro.redirect("/start-here/getting-started");
3+
---

0 commit comments

Comments
 (0)