From 07f7b06bfdbbbb36f5ab1b11d825753ba9e6b46f Mon Sep 17 00:00:00 2001 From: jmirchh75 Date: Sun, 10 May 2026 03:40:04 +1000 Subject: [PATCH 1/2] fix(config): add site URL for sitemap generation --- astro.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 3a08e15f..0bf46ab4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,7 +3,8 @@ import starlight from '@astrojs/starlight'; // https://astro.build/config export default defineConfig({ - + site: 'https://ontrackdocumentation.netlify.app', + server: { host: true }, From ba285dc0fe3fe3bf998b69cf4d4125b4fec014e4 Mon Sep 17 00:00:00 2001 From: jmirchh75 Date: Sun, 17 May 2026 18:46:33 +1000 Subject: [PATCH 2/2] fix(config): enable sitemap generation --- astro.config.mjs | 7 +++---- package-lock.json | 9 +++++---- package.json | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 0bf46ab4..babc1371 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,8 +3,7 @@ import starlight from '@astrojs/starlight'; // https://astro.build/config export default defineConfig({ - site: 'https://ontrackdocumentation.netlify.app', - + server: { host: true }, @@ -35,7 +34,7 @@ export default defineConfig({ ], }, { - label: 'Intial Setup', + label: 'Initial Setup', autogenerate: { directory: '/setup', }, @@ -45,7 +44,7 @@ export default defineConfig({ link: '/frontend/page', }, { - label: 'OnTrack Intial Setup Guidance', + label: 'OnTrack Initial Setup Guidance', link: '/setup/set', }, ], diff --git a/package-lock.json b/package-lock.json index dc6cea71..01fee1f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.1", "dependencies": { "@astrojs/check": "^0.5.10", + "@astrojs/sitemap": "^3.6.0", "@astrojs/starlight": "^0.21.5", "astro": "^4.3.5", "sharp": "^0.32.5", @@ -159,12 +160,12 @@ } }, "node_modules/@astrojs/sitemap": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.7.0.tgz", - "integrity": "sha512-+qxjUrz6Jcgh+D5VE1gKUJTA3pSthuPHe6Ao5JCxok794Lewx8hBFaWHtOnN0ntb2lfOf7gvOi9TefUswQ/ZVA==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.6.0.tgz", + "integrity": "sha512-4aHkvcOZBWJigRmMIAJwRQXBS+ayoP5z40OklTXYXhUDhwusz+DyDl+nSshY6y9DvkVEavwNcFO8FD81iGhXjg==", "license": "MIT", "dependencies": { - "sitemap": "^8.0.2", + "sitemap": "^8.0.0", "stream-replace-string": "^2.0.0", "zod": "^3.25.76" } diff --git a/package.json b/package.json index 19eb60aa..9ddec47b 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "@astrojs/check": "^0.5.10", + "@astrojs/sitemap": "^3.6.0", "@astrojs/starlight": "^0.21.5", "astro": "^4.3.5", "sharp": "^0.32.5",